[Samba] decode_pw_buffer: incorrect password length

Asier Baranguán abaranguan at elpagestion.com
Mon Jun 18 11:57:36 GMT 2007


alois blasbichler escribió:

> 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

I have a similar setup with thi settings:

pam password change = no
encrypt passwords = true
unix password sync = no
ldap password sync = yes

It works well, since my users are all ldap+samba based. The 'ldap password sync' updates 
both passwords well. See the manpage of smb.conf for info about this setting.

Regards.


More information about the samba mailing list