[Samba] smbpasswd error

Janet Dickson janet at bioss.sari.ac.uk
Tue Aug 3 18:29:57 GMT 2004


Hi Samba people

I saw this as a problem in the archives about a month ago but no solution ?

I'm running samba 2.2.10 on Solaris 8.
We have a script to replace /usr/bin/passwd which changes the NIS passwd and 
then uses smbpasswd to change the user's smb password to the same thing.

Some users are getting :

NIS password changed for diane on cauchy
machine 127.0.0.1 rejected the password change :  Error was :  The
specified password was invalid.
Failed to change password for diane

and in the log file :

smbd/chgpasswd.c:check_oem_password(832)
   check_oem_password: incorrect password length (1292521526).
[2004/08/03 10:12:51, 0] passdb/passdb.c:pdb_free_sam(210)
   pdb_free_sam: SAM_ACCOUNT was NULL

In all cases passwords are between 6 and 9 characters.

	Janet

*************************************************************************
Janet Dickson                        | http://www.bioss.sari.ac.uk/~janet
Biomathematics & Statistics Scotland | email: janet <at> bioss.sari.ac.uk
The King's Buildings, Mayfield Rd    | Telephone: +44 (0) 131 650 4888
Edinburgh EH9 3JZ, Scotland, UK.     | Fax: +44 (0) 131 650 4901
*************************************************************************



More information about the samba mailing list