Jump to content

How to mount smb share ?


Jack007

Recommended Posts

As i have searched google for so long, i did not find the correct answer.

I`m running Emby server in my spare smartphone samsung galaxy s7 and NAS is on another machine, OS is Onespace(I think it is not very famous system) and it is linux based system. When i add the smb share path to emby library, it accepted, but it shows nothing of my films.(SAMBA version is 4.8)

Picture 1 is the config setting of SAMBA.

Picture 2 is on my another phone using Mixplorer can direct access the "public" folder without auths(that`s what i learned from google, emby donot accept smb share with creditatials ) At the same time you can see there is a video called Greenland at the background.(As a test video)

Picture 3 is the input of Folder path

And i did try methode of mounting the smb  share as local directory in my phone, it is also a dead end. I didnot work. Maybe i use the wrong APP.

1.png

2.jpg

3.png

4.png

6.png

As i go over the logfile, i found there was an error. It indicate that it can`t login the samba share. But you can see above, i have set the smb share as a public folder. then why i got this error ?

Quote

Hardware: hero2qltechn/hero2qltezc/qcom/msm8996
SupportedAbis: arm64-v8a, armeabi-v7a, armeabi
SharpCifs.Smb.SmbAuthException: SharpCifs.Smb.SmbAuthException: Logon failure: unknown user name or bad password.
at SharpCifs.Smb.SmbFile.DoShareEnum (System.Collections.Generic.List`1[T] list, System.Boolean files, System.String wildcard, System.Int32 searchAttributes, SharpCifs.Smb.ISmbFilenameFilter fnf, SharpCifs.Smb.ISmbFileFilter ff) [0x001ac] in <752e65c6651540c8b5db1a832863d54c>:0
at SharpCifs.Smb.SmbFile.DoEnum (System.Collections.Generic.List`1[T] list, System.Boolean files, System.String wildcard, System.Int32 searchAttributes, SharpCifs.Smb.ISmbFilenameFilter fnf, SharpCifs.Smb.ISmbFileFilter ff) [0x00072] in <752e65c6651540c8b5db1a832863d54c>:0
at SharpCifs.Smb.SmbFile.ListFiles (System.String wildcard, System.Int32 searchAttributes, SharpCifs.Smb.ISmbFilenameFilter fnf, SharpCifs.Smb.ISmbFileFilter ff) [0x00006] in <752e65c6651540c8b5db1a832863d54c>:0
at SharpCifs.Smb.SmbFile.ListFiles () [0x00000] in <752e65c6651540c8b5db1a832863d54c>:0
at Emby.Server.Implementations.IO.SharpCifsFileSystem.ListFiles (SharpCifs.Smb.SmbFile dir, System.Boolean recursive) [0x00000] in <752e65c6651540c8b5db1a832863d54c>:0
at Emby.Server.Implementations.IO.SharpCifsFileSystem.GetFiles (System.String path, System.String[] extensions, System.Boolean enableCaseSensitiveExtensions, System.Boolean recursive) [0x00010] in <752e65c6651540c8b5db1a832863d54c>:0
at Emby.Server.Implementations.IO.ManagedFileSystem.GetFiles (System.String path, System.String[] extensions, System.Boolean enableCaseSensitiveExtensions, System.Boolean recursive) [0x0001b] in <752e65c6651540c8b5db1a832863d54c>:0
at MediaBrowser.LocalMetadata.Images.LocalImageProvider.<GetImages>b__10_0 (System.String i) [0x00000] in <0568f1ddb13b40b2891584ed3ec14bbd>:0
at System.Linq.Enumerable+SelectManySingleSelectorIterator`2[TSource,TResult].ToArray () [0x00028] in <dee8a17bce064f3da55aab1eae92ed4f>:0
at System.Linq.Buffer`1[TElement]..ctor (System.Collections.Generic.IEnumerable`1[T] source) [0x0000a] in <dee8a17bce064f3da55aab1eae92ed4f>:0
at System.Linq.OrderedEnumerable`1[TElement].ToList () [0x00000] in <dee8a17bce064f3da55aab1eae92ed4f>:0
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <dee8a17bce064f3da55aab1eae92ed4f>:0
at MediaBrowser.LocalMetadata.Images.LocalImageProvider.GetImages (MediaBrowser.Controller.Entities.BaseItem item, System.Collections.Generic.IEnumerable`1[T] paths, System.Boolean arePathsInMediaFolders, MediaBrowser.Controller.Providers.IDirectoryService directoryService) [0x0003f] in <0568f1ddb13b40b2891584ed3ec14bbd>:0
at MediaBrowser.LocalMetadata.Images.CollectionFolderLocalImageProvider.GetImages (MediaBrowser.Controller.Entities.BaseItem item, MediaBrowser.Controller.Providers.IDirectoryService directoryService) [0x00040] in <0568f1ddb13b40b2891584ed3ec14bbd>:0
at MediaBrowser.Providers.Manager.ItemImageProvider+<>c__DisplayClass5_0.<ValidateImages>b__0 (MediaBrowser.Controller.Providers.ILocalImageFileProvider i) [0x00000] in <1e3b621083d04a61af57a93519a9a32b>:0
at System.Linq.Enumerable+SelectManySingleSelectorIterator`2[TSource,TResult].ToList () [0x0001b] in <dee8a17bce064f3da55aab1eae92ed4f>:0
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <dee8a17bce064f3da55aab1eae92ed4f>:0
at MediaBrowser.Providers.Manager.ItemImageProvider.ValidateImages (MediaBrowser.Controller.Entities.BaseItem item, System.Collections.Generic.IEnumerable`1[T] providers, MediaBrowser.Controller.Providers.IDirectoryService directoryService) [0x00035] in <1e3b621083d04a61af57a93519a9a32b>:0
at MediaBrowser.Providers.Manager.MetadataService`2[TItemType,TIdType].RefreshMetadata (MediaBrowser.Controller.Entities.BaseItem item, MediaBrowser.Controller.Providers.MetadataRefreshOptions refreshOptions, System.Threading.CancellationToken cancellationToken) [0x001e0] in <1e3b621083d04a61af57a93519a9a32b>:0
Source: Emby.Server.Implementations
TargetSite: Void DoShareEnum(System.Collections.Generic.List`1[System.Object], Boolean, System.String, Int32, SharpCifs.Smb.ISmbFilenameFilter, SharpCifs.Smb.ISmbFileFilter)

 

embyserver.txt

Edited by Jack007
Link to comment
Share on other sites

Thanks for replay. But since my galaxy s7 donot have android 10 update, so this methode is a dead end.

Edited by Jack007
Link to comment
Share on other sites

  • 1 month later...
BobbyCR

are you using user name and password when adding the share drive?

can you access the share from a File explorer app? 

This could be privileges, can you check your /sata access, if the user you are using to connect can access public but can't access sata there will be an issue where you will not be able to see files.

 

you could try chmod -R +r /sata or just make it 777 that way it will be easier to manipulate the files from emby, delete modify and read. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...