tree connect failed: NT_STATUS_BAD_NETWORK_NAME

murat can tuna muratcantuna at
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.
Press enter to see a dump of your service definitions

    server string = %h server (Samba, Ubuntu)
    interfaces =, 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

    comment = Home Directories
    path = /home
    create mask = 0700
    directory mask = 0700

    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.

More information about the samba-technical mailing list