[Samba] decode_pw_buffer: incorrect password length

alois blasbichler alois.blasbichler at sb-brixen.it
Mon Jun 18 08:54:29 GMT 2007


Hello list

I have a problem that i am confronting for long time and i dont get a result.
We use samba 3.0.24 (also tried other versions) with openldap and the  
smbldap-tools  on Suse Linux SLES9.
We use openldap for user authentikation for samba (objectClass:  
sambaSamAccount) and other application like email, apache, squid  
(objectClass: shadowAccount and objectClass: posixAccount).

My scope is to have syncroniced the passwords and the expire-date for   
samba- and shadow-Accounts.

My problem: when a user changes his password from a windows-client  
(xp) he get an error like "The User name or old password is incorrect.  
Letters in passwords must be typed using the correct case."

The strange is that the server *did* change both Linux and Windows
passwords and the shadowLastChange and  sambaPwdLastSet attributes also.
So all is ok anly i get this "stupid" message.

In the samba-logs i see this:

[2007/06/18 08:59:08, 0] libsmb/smbencrypt.c:decode_pw_buffer(520)
   decode_pw_buffer: incorrect password length (-1582166334).
[2007/06/18 08:59:08, 0] libsmb/smbencrypt.c:decode_pw_buffer(521)
   decode_pw_buffer: check that 'encrypt passwords = yes'

in my smb.conf i have :       unix password sync = Yes

Is this a bug ?
Other tips?

Thank you in advanced
luis


More information about the samba mailing list