PDA

View Full Version : [ubuntu] Samba4 NT_STATUS_NO_SUCH_DOMAIN



norland
September 27th, 2010, 09:34 PM
sudo smbclient -L //127.0.0.1 gives the above error NT_STATUS_NO_SUCH_DOMAIN on Ubuntu 10.04 desktop edition. I also can't view my linux machine from other computers using "net view" command. Is there any particular (network?) package that I am missing or should I be using the older samba packages. What is preventing Samba from being visible?

I also get these warnings when running "samba restart"
Unknown parameter encountered: "guest ok"
Ignoring unknown parameter "guest ok"
Unknown parameter encountered: "guest only"
Ignoring unknown parameter "guest only"
Unknown parameter encountered: "writable"
Ignoring unknown parameter "writable"

Should their be a newer way to configure samba for samba4?
my smb.conf file is as show below:

[global]
; guest account = nobody
; netbios name = Linux
server string = Linux
security = share
; socket options = TCP_NODELAY IPTOS_LOWDELAY
workgroup = workgroup
; server string = samba 3.4.7
encrypt passwords = no
guest ok = yes
hosts allow = 192.168.0.13
interfaces = lo etho

[public]
path = /home/linuxuser
guest ok = yes
guest only = yes
read only = no
writable = yes
create mask = 0666

mycroes
September 29th, 2010, 12:54 PM
Is your samba running? The init script that accompanies samba4 is broken, so do a 'ps ax | grep samba' to see if samba is running. If you manually create a /var/run/samba folder, samba4 will start, however this doesn't persist after reboot.
Regards,

Michael