[Samba] winbind authentication for user [] FAILED with error NT_STATUS_WRONG_PASSWORD

Shem Pasamba shemgp at aiias.edu
Sun Apr 5 20:05:34 MDT 2015


I'm trying to authenticate to a Samba file server version 3.6.6 which is 
joined to a samba AD version 4.1.17.  The problem is that I can't seem 
to login using smbclient -L // -U shemgp tothe file 
server and the server displays the error:

winbind authentication for user [shemgp] FAILED with error 

even if I use the correct password.  The client says:
session setup failed: NT_STATUS_LOGON_FAILURE

Here's my smb.conf on the file server:

         workgroup = AIIAS
         realm = AIIAS.EDU
         netbios name = INTRANET
         server string = Intranet Gateway Server
         security = ADS
         pam password change = Yes
         passwd program = /usr/bin/passwd %u
         passwd chat = *Enter\snew\sUNIX\spassword:* %n\n 
*Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
         map untrusted to domain = Yes
         syslog = 0
         log file = /var/log/samba/log.%m
         max log size = 1000
         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
         dns proxy = No
         wins server =
         usershare allow guests = Yes
         panic action = /usr/share/samba/panic-action %d
         template homedir = /home/users/%U
         winbind cache time = 100
         winbind enum users = Yes
         winbind enum groups = Yes
         winbind use default domain = Yes
         winbind nss info = rfc2307
         winbind refresh tickets = Yes
         winbind offline logon = Yes
         idmap config AIIAS:schema_mode = rfc2307
         idmap config AIIAS:range = 30000-999999
         idmap config AIIAS:default = yes
         idmap config AIIAS:backend = rid
         idmap config * : range = 1000000-1999999
         idmap config * : backend = tdb
         invalid users = root
         comment = IT Development Docs
         path = /space/shares/itdev
         valid users = itdirector, glenson, shemgp
         force group = f_itdev
         read only = No
         create mask = 0770
         directory mask = 0770

Is there any thing wrong with my setup?

Thanks for your help.

All the best,

Shem Pasamba

More information about the samba mailing list