[Samba] Error when changing domain password in Windows XP

Torkil Svensgaard torkil at drcmr.dk
Fri May 27 05:55:32 MDT 2011


On 2011-05-27 13:42, Harry Jede wrote:

> from your previous posted log:
> [2011/05/26 12:22:14.392666,  5] lib/smbldap.c:1556(smbldap_modify)
>     smbldap_modify: dn =>  [uid=torkil,ou=Users,dc=drcmr,dc=local]
> [2011/05/26 12:22:14.392990, 10] lib/smbldap.c:1576(smbldap_modify)
>     Failed to modify dn: uid=torkil,ou=Users,dc=drcmr,dc=local, error: 16
> (No such attribute) (modify/delete: sambaNTPassword: no such value)
>
> I asume that this log comes from the user torkil and NOT from root.
> It looks that torkil can not read his own field sambaNTPassword.
>
> maybe an ldapsearch can help:
>
> ldapsearch -x -LLL -D "uid=torkil,ou=Users,dc=drcmr,dc=local" -W -b "ou=Users,dc=drcmr,dc=local" "uid=torkil"

Thanks =) That search works fine and can read the sambaNTPassword field, 
if given the right password. I'm still inclined to think the problem 
could be as stated below.

>> I'm wondering if the problem could be of timing, that first PAM
>> changes the password in LDAP and then samba tries to do the same, but
>> with the old password, like suggested here:
>> http://lists.samba.org/archive/samba/2008-April/140319.html

Mvh.

Torkil


More information about the samba mailing list