[Samba] smbpasswd database is corrupt!

Robert Pollard rpollard at drs4drs.com
Fri Jan 25 16:43:26 GMT 2008

Just taking a stab at this but did you modify nsswitch.conf to look in the 
LDAP server.  I believe this is where you would set it to look for 
authentication info other than "files"

----- Original Message ----- 
From: "Adam Williams" <awilliam at mdah.state.ms.us>
To: "Samba" <samba at lists.samba.org>
Sent: Friday, January 25, 2008 10:28 AM
Subject: [Samba] smbpasswd database is corrupt!

>I added myself into OpenLDAP and deleted my user account from /etc/passwd. 
>Now samba complains in the log file:
> Jan 25 10:17:56 roark smbd[2767]:   build_sam_account: smbpasswd database 
> is corrupt!  username awilliam with uid 511 is not in unix passwd 
> database!
> however, I'm resolving my awilliam with nss_ldap, so I can ssh and su -l 
> awilliam fine.  so shouldn't samba be able to get the user awilliam w/ uid 
> 511 out of ldap via nss_ldap instead of looking for it directly in 
> /etc/passwd?
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list