tree connect failed: NT_STATUS_BAD_NETWORK_NAME

murat can tuna muratcantuna at hotmail.com
Mon Jul 5 11:05:06 MDT 2010


Hi all,

I have deleted and reinstalled samba 3.4.0 afterwards whenever I try smbclient -L localhost -U%  I get this error:

Domain=[WORKGROUP] OS=[Unix] Server=[Samba 4.0.0alpha9-GIT-27087e6]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME


I have installed:

  libcrypt-smbhash-perl                0.12-2                                     generate LM/NT hash of a password for samba
ii  samba                                2:3.4.0-3ubuntu5.6                         SMB/CIFS file, print, and login server for U
ii  samba-common                         2:3.4.0-3ubuntu5.6                         common files used by both the Samba server a
ii  samba-common-bin                     2:3.4.0-3ubuntu5.6                         common files used by both the Samba server a
ii  samba-doc                            2:3.4.0-3ubuntu5.6                         Samba documentation


and here is my smb.conf:

/etc/samba# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
    server string = %h server (Samba, Ubuntu)
    interfaces = 127.0.0.0/8, eth0
    bind interfaces only = Yes
    map to guest = Bad User
    obey pam restrictions = Yes
    pam password change = Yes
    passwd program = /usr/bin/passwd %u
    passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
    unix password sync = Yes
    syslog = 0
    log file = /var/log/samba/log.%m
    max log size = 1000
    dns proxy = No
    usershare allow guests = Yes
    panic action = /usr/share/samba/panic-action %d

[homes]
    comment = Home Directories
    path = /home
    create mask = 0700
    directory mask = 0700

[print$]
    comment = Printer Drivers
    path = /var/lib/samba/printers

Does anyone have any idea what goes wrong??

Thanks in Advance

Murat Can Tuna
 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969


More information about the samba-technical mailing list