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 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
