[Samba] passwd sync - troubles

Andrew Bartlett abartlet at pcug.org.au
Mon Mar 11 12:36:02 GMT 2002


Terry Davis wrote:
> 
> Indeed I am running with 'encrypt passwords = yes'.  When windows sends
> the OLD password across, what format is it in?  In other words, should
> it be matched with my lmpasswd, ntpasswd, or clear in the ldap?  I am
> considering sniffing this problem out.  I am 100% certain I did not
> mistype the password as I changed and re-typed it close to 20 times
> (while examining logs and such).
> 
> Just to be more clear, I am using the 'passwords' utility in windows 98
> and checking 'windows networking' to change the local and smb/ldap
> password.

For anything other than win98 you don't get the old password at all. 
You just get an indication that the user knew it becouse the new
password decypted correctly.  For win98 I think you get them both in
plaintext.  See the calls in lanman.c.

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net




More information about the samba mailing list