[Samba] smbclient username not working

Caleb O'Connell caleb at privacyassociation.org
Mon Sep 24 11:51:27 MDT 2012

I joined a samba 3.5.10 server to a samba4 active directory domain.  Windows 
clients can't browse the root of the servers shares (\\ )  but 
they can access the shares if I manually mount them.

The following command works on the server that samba 3.5 is running on.

smbclient -U administrator -L

The following command gives a NT_STATUS_LOGON_FAILURE on a client

smbclient -U administrator -L

I can get the smbclient command to work on the client using

smbclient -U DOMAIN\administrator -L

The same command fails on the server.

Windows computers can get to shares mapped directly (very slow, however)  
But they cannot browse the services, as in go to \\ and see the 
shares and printers.

the following in my smb.conf I'm using.  

        workgroup = DOMAIN
        realm = DOMAIN.LOCAL
        security = ADS
        server string = Samba %v
        idmap domains = IAPP
        idmap config IAPP:backend = rid
        idmap config IAPP:schema_mode = rfc2307
        idmap config IAPP:range = 500-1000000
        template homedir = /home/%D/%U
        template shell = /bin/bash
        load printers = yes
        dns proxy = no
        client use spnego = yes
        client ntlmv2 auth = yes
        encrypt passwords = yes
        wins support = yes
        netbios name = DOMAIN-SERVER
        max protocol = SMB2
        printing = cups
        winbind expand groups = 2
        winbind nss info = rfc2307
        winbind offline logon = true
        winbind use default domain = true
        winbind enum users = yes
        winbind enum groups = yes
        winbind nested groups = Yes
        enhanced browsing = no
        unix extensions = no
        debug level = 3
        printcap name = cups
        domain master = no
        local master = no
        preferred master = no

Basically I can't really use this server and can't get to users home shares.  
Any suggestions would be greatly appreciated.


More information about the samba mailing list