Password Change

David Bannon D.Bannon at
Mon Feb 22 06:09:21 GMT 1999

It seems a bug has crept into the password changing system in the last
couple of weeks. CVS from two days ago certainly cannot _reliably_ change
passwords from the NT dialog (in my, and apparently several other systems).

I have been attempting to track this down and am most confused !

If you restart samba and then set a users passwd with smbpasswd the user
can change their pw once. Second time, it fails.

The first time they change their passwd api_SetUserPassword is called, it
calls check_lanman_password and then change_lanman_password. All is well.
The second password field in ~/smbpasswd is set to all XXX..XX.

When they try and change the password a second time pass_oem_change is
called, it fails because there is 'no ntlm password'.

Now, I cannot find where it is decided which of the two paths to take, can
anyone point me in the right direction ? Looking at source, pass_oem_change
is called from api_SamOEMChange etc but that does not seem to be the case

Any ideas ??

David Bannon                      D.Bannon at
School of Biochemistry            Phone 61 03 9479 2197
La Trobe University, Plenty Rd,   Fax   61 03 9479 2467
Bundoora, Vic, Australia, 3083
..... Humpty Dumpty was pushed !

More information about the samba-ntdom mailing list