password change problem

Douglas K. Fischer skeet at Bridgewater.EDU
Fri Nov 20 20:31:06 GMT 1998

On Sat, 21 Nov 1998, Todd Pfaff wrote:

> I'm using samba-2.0.0beta1.
> When trying to change a password as a non-root user with smbpasswd I get
> the following message from smbpasswd:
> machine rejected the password change: Error was : The specified
> password is invalid.
> and the following message in log.smb:
> [1998/11/20 14:36:49, 0] smbd/chgpasswd.c:check_oem_password(684)
>   check_oem_password: incorrect password length (1780921600).
> Whoa!  I didn't type that many characters in my password! :-)
> Is this a known problem?  Is there a fix in a later alpha?

I've run across the same problem in 1.9.18p10 (see postings to
samba-technical and main samba lists). I'm still trying to figure out
exactly what's happening here but it seems that either the client is
passing a bad data string into SamOEMhash or something wierd is happening
inside of SamOEMhash. Of course, it could be something else entirely, I am
far from a Samba guru...


  Douglas K. Fischer    DFischer at Bridgewater.EDU      (540) 828 - 5343
  Network Systems Engineer   C. E. Shull Information Technology Center
  College Box 36        Bridgewater College      Bridgewater, VA 22812

More information about the samba-ntdom mailing list