R Rigsby Member Licensed User Longtime User Apr 22, 2013 #1 I've been using the SMB library to get network files, works great. However....to connect I obviously need to know the initial domain name, for example //USER-D2F90B4478/compaq/ knowing the domain name and credentials, then connect using... smb1.SetCredentials("","","") smb1.ListFiles("smb://USER-D2F90B4478/compaq/","") Is there any way to enumerate all available domains, like you do in windows by clicking a workgroup icon? Cheers Rigsby
I've been using the SMB library to get network files, works great. However....to connect I obviously need to know the initial domain name, for example //USER-D2F90B4478/compaq/ knowing the domain name and credentials, then connect using... smb1.SetCredentials("","","") smb1.ListFiles("smb://USER-D2F90B4478/compaq/","") Is there any way to enumerate all available domains, like you do in windows by clicking a workgroup icon? Cheers Rigsby
Erel B4X founder Staff member Licensed User Longtime User Apr 23, 2013 #2 It is not possible. According to some discussions there is not reliable way to do it with SMB protocol. Upvote 0
It is not possible. According to some discussions there is not reliable way to do it with SMB protocol.
R Rigsby Member Licensed User Longtime User Apr 23, 2013 #3 Rigsby said: I've been using the SMB library to get network files, works great. However....to connect I obviously need to know the initial domain name, for example //USER-D2F90B4478/compaq/ knowing the domain name and credentials, then connect using... smb1.SetCredentials("","","") smb1.ListFiles("smb://USER-D2F90B4478/compaq/","") Is there any way to enumerate all available domains, like you do in windows by clicking a workgroup icon? Cheers Rigsby Click to expand... Attached might be useful if the need ever arises for someone else. Attachments enumerate_servers.zip 7.3 KB · Views: 167 Upvote 0
Rigsby said: I've been using the SMB library to get network files, works great. However....to connect I obviously need to know the initial domain name, for example //USER-D2F90B4478/compaq/ knowing the domain name and credentials, then connect using... smb1.SetCredentials("","","") smb1.ListFiles("smb://USER-D2F90B4478/compaq/","") Is there any way to enumerate all available domains, like you do in windows by clicking a workgroup icon? Cheers Rigsby Click to expand... Attached might be useful if the need ever arises for someone else.