[Samba] SMB share access for machines which are not joined to the domain?
rpenny at samba.org
Tue Jun 25 18:35:14 UTC 2019
On 25/06/2019 18:57, Gregory Sloop via samba wrote:
> Use the netbios name, instead of a FQDN, perhaps?
> i.e.: \\cns-bio-krak1\emtifs
> [I'm assuming the NB name. If I'm wrong, correct it.]
> I know I've done this with Windows DC shares, and I'm 99% certain I've done it with FreeNAS acting as a domain member. [Samba domain member.]
> I haven't done it with 18.04 / 4.7.6 - but can't see why it should be different.
> [Though I admit it's been a while, and I'm not sure of the syntax I used. But I'm quite sure I've mapped drives this way, without having to join the domain. You won't get GPO or lots of other "goodies" that domain membership gives, but you should be able to get to the SMB shares.]
Yes, it as I said:
adminuser at stand:~$ smbclient \\\\192.168.0.33\\rowland -U 'SAMDOM\rowland'
Enter SAMDOM\rowland's password:
try "help" to get a list of possible commands.
smb: \> pwd
Current directory is \\192.168.0.33\rowland\
smb: \> q
adminuser at stand:~$ smbclient \\\\192.168.0.33\\rowland -U 'rowland'
Enter WORKGROUP\rowland's password:
session setup failed: NT_STATUS_LOGON_FAILURE
Note: using the hostname does not work.
More information about the samba