[Samba] problems with passwd program =
TAKAHASHI Motonobu
monyo at monyo.com
Wed Mar 23 08:57:00 MDT 2011
From: "sisu ." <npillao at hotmail.com>
Date: Wed, 23 Mar 2011 10:26:16 +0000
> Thank you so much for your reply. I've changed my configuration:
>
> encrypt passwords = yes
> unix password sync = Yes
> passwd chat debug = yes
> passwd level = 2
> passwd program = /usr/sbin/smbldap-passwd -s %u
> passwd chat = *old*password* %o\n *new*password* %n\n *new*password* %n\n *changed*
>
>
> But now I get a weird error which I do not understand, the case is when I try to change the password through windows xp appears a warning which says: "you do not have permissions to change your password"
>
> and on the log file I can see:
>
> check_ntlm_password: authentication for user [fred] -> [fred] -> [fred] succeeded
> [2011/03/22 17:47:18.890451, 2] passdb/pdb_ldap.c:572(init_sam_from_ldap)
> init_sam_from_ldap: Entry found for user: fred
> [2011/03/22 17:47:18.894130, 2] passdb/pdb_ldap.c:2446(init_group_from_ldap)
> init_group_from_ldap: Entry found for group: 1004
> [2011/03/22 17:47:20.893790, 2] smbd/chgpasswd.c:308(expect)
> expect: NT_STATUS_IO_TIMEOUT
> [2011/03/22 17:47:20.939531, 2] passdb/pdb_ldap.c:572(init_sam_from_ldap)
> init_sam_from_ldap: Entry found for user: fred
> [2011/03/22 17:47:20.947319, 2] passdb/pdb_ldap.c:2446(init_group_from_ldap)
> init_group_from_ldap: Entry found for group: 1004
> [2011/03/22 17:47:23.801991, 2] smbd/chgpasswd.c:308(expect)
> expect: NT_STATUS_IO_TIMEOUT
Probably you should adjust "passwd chat" parameter for smbldap-passwd.
Perhaps the settings below will work:
-----
passwd chat = "*New password*" %n\n "*Retype new password*" %n\n
-----
If this do not work, please debug to set:
-----
passwd chat debug = yes
log level = 100
-----
And view your log.
---
TAKAHASHI Motonobu <monyo at samba.gr.jp>
More information about the samba
mailing list