What does NT_STATUS_BAD_NETWORK_NAME mean in Samba?
Posted
by Neil
on Server Fault
See other posts from Server Fault
or by Neil
Published on 2010-04-29T18:56:46Z
Indexed on
2010/04/29
19:07 UTC
Read the original article
Hit count: 594
I set up a share like this:
[global]
security = user
map to guest = Bad Password
usershare allow guests = yes
[vms]
comment = VirtualBox Virtual Machines
path = /home/neil/VirtualBox/HardDisks
guest ok = yes
read only = yes
And when I access the share as myself, and type in my password, it works fine:
$ smbclient //neil-ubuntu/vms -U neil
Enter neil's password:
Domain=[SHUTTERSTOCK] OS=[Unix] Server=[Samba 3.4.0]
smb: \>
But when I access it as guest, it doesn't work:
$ smbclient //neil-ubuntu/vms -U guest
Enter guest's password:
Domain=[SHUTTERSTOCK] OS=[Unix] Server=[Samba 3.4.0]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
Regardless of what password I type in.
Does anyone know why?
Also, why does smbclient print such useless error messages?
© Server Fault or respective owner