[Samba] new password empty

This is a discussion on [Samba] new password empty within the Samba forums, part of the Networking and Network Related category; Hi there i have a very strange issue: %n is empty, for sure. ldap passwd sync = No unix password sync = ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-29-2008
Maurizio Marini
 
Posts: n/a
Default [Samba] new password empty

Hi there
i have a very strange issue:
%n is empty, for sure.


ldap passwd sync = No
unix password sync = Yes
passwd program = /usr/bin/php -f /etc/samba/scripts/chgpwd.php %u %n
passwd chat debug = yes

this small php script does log:

Apr 29 11:19:13 pdc myScriptLog[29555]: change password: prova - %n

if i use smbldap-passwd

; passwd program = /usr/bin/php -f /etc/samba/scripts/chgpwd.php %u %n
passwd program = /usr/sbin/smbldap-passwd -u %u
passwd chat = "New password:" %n\\n "Retype new password:" %n\\n "changed"
passwd chat debug = yes

i added some logging to it:
/var/log/perl.log
Apr 29 11:20:31 pdc smbldap-passwd[29615]: Changing UNIX passwords for prova
Apr 29 11:20:34 pdc smbldap-passwd[29617]: starting
Apr 29 11:20:34 pdc smbldap-passwd[29617]: changing password for prova
Apr 29 11:20:34 pdc smbldap-passwd[29617]: Changing UNIX passwords for prova
Apr 29 11:20:36 pdc smbldap-passwd[29619]: starting
Apr 29 11:20:36 pdc smbldap-passwd[29619]: changing password for prova
Apr 29 11:20:36 pdc smbldap-passwd[29619]: Changing UNIX passwords for prova
Apr 29 11:20:38 pdc smbldap-passwd[29621]: starting
Apr 29 11:20:38 pdc smbldap-passwd[29621]: changing password for prova
Apr 29 11:20:38 pdc smbldap-passwd[29621]: Changing UNIX passwords for prova

/var/log/messages:
Apr 29 11:20:17 pdc smbd[592]: [2008/04/29 11:20:17, 0] libsmb/smbencrypt.c:decode_pw_buffer(552)
Apr 29 11:20:17 pdc smbd[592]: decode_pw_buffer: incorrect password length (-278203093).
Apr 29 11:20:17 pdc smbd[592]: [2008/04/29 11:20:17, 0] libsmb/smbencrypt.c:decode_pw_buffer(553)
Apr 29 11:20:17 pdc smbd[592]: decode_pw_buffer: check that 'encrypt passwords = yes'


as far as i can see, smbldap-passwd does not receive %n and ask it more and more 3 times.

Why is it not receiving new password by windows client?
any advise would be apreciated

Maurizio
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:52 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0