Password Change

Luke Kenneth Casson Leighton lkcl at
Mon Feb 22 16:08:41 GMT 1999

david, are you using a non-intel-byte-alignment processor (e.g sparc?)
if yes, matt could you look into those unicode string issues.

david please send us a password change from a TEST account NOT a real
account.  recompile with -DDEBUG_PASSWORD and then set log level to 100.


On Mon, 22 Feb 1999, David Bannon wrote:

> 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
> here.
> 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 !

<a href="mailto:lkcl at" > Luke Kenneth Casson Leighton  </a>
<a href=""> Samba and Network Development </a>
<a href=""       > Samba and Network Consultancy </a>

More information about the samba-ntdom mailing list