[Samba] Error when changing domain password in Windows XP
walk2sun at arcor.de
Fri May 27 06:22:08 MDT 2011
On 14:14:23 wrote Torkil Svensgaard:
> 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.
try the same search with the user(s) you have configured for
smbldap-tools and pam_ldap
you should NOT have a ldap user for nss, nore nss configured for shadow
post the relevant config files and the global section from smb.conf
> >> 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
More information about the samba