[Samba] Two Locations, One Domain - LDAP Auth Failure

Andy samba at andrewsmith.plus.com
Tue Sep 20 13:33:34 GMT 2005

>here's the problem:
>	 check_ntlm_password:  Authentication for user [andy] -> [andy] FAILED with error NT_STATUS_NO_SUCH_USER
>	[2005/09/20 12:44:41, 3] smbd/process.c:timeout_processing(1334)

Are you sure? That comes after the line:

[2005/09/20 12:44:41, 3] auth/auth_sam.c:check_sam_security(257) check_sam_security: Couldn't find user 'andy' in passdb.

...which seems to imply that because the LDAP auth failed, samab attempted to use old-style passwd-based auth instead - which will fail because 'andy' only exists in 
the LDAP directory, not passwd/smbpasswd.

>has the user the sambasid attribute? Is it filled? did you use smbldap-tools?

No idea... I'm an LDAP n00b! How would I find this out? But yes, to add the user I used "smbldap-useradd" and "smbldap-passwd". 

Any thoughts?



More information about the samba mailing list