[Samba] samba 3.0.2a-Debian +ldapsam +smbldap-tools 3.0rc4-1=
newly created users can't log in
Bradley W. Langhorst
brad at langhorst.com
Thu Mar 18 19:33:37 GMT 2004
On Thu, 2004-03-18 at 13:15, Bradley W. Langhorst wrote:
> sambaPwdLastSet: 0
here's the problem!
if i manually change this to "1" in the ldap store the login works fine
0 should be an okay value i think - though smbldap-passwd should set it
to the current time...
> I cranked up the log to 100 and watched what's going on during login...
> It finds the user using the same filter as i did above.
> It finds all the attributes except the NT and LM passwords.
> But then i find this:
> 2004/03/18 11:58:52, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
> pop_sec_ctx (2007, 100) - sec_ctx_stack_ndx = 0
> [2004/03/18 11:58:52, 3] libsmb/ntlm_check.c:ntlm_password_check(182)
> ntlm_password_check: NO NT password stored for user mcmahon.
> [2004/03/18 11:58:52, 3] libsmb/ntlm_check.c:ntlm_password_check(309)
> ntlm_password_check: NO LanMan password set for user mcmahon (and no
> NT password supplied)
I believe these false reports to be a bug
i just looked in the code to see if i could find something obvious but
it would take me a while trace out whats going on...
maybe one of the developers just knows where to fix this.
PS - cross posting because this is now a potential bug report - i'll
file it if someone agrees that this behaviour is wrong.
Bradley W. Langhorst <brad at langhorst.com>
More information about the samba