[Samba] pdbedit ldap Object class violation

zorg zorg at probesys.com
Wed Jan 4 10:01:56 GMT 2006


hello,

here is my problem
I'm using samba 3.0.14a (debian)
with ldapbackend

in october I could join machine to domain without problem
but today it doesn't work
after some experiment I manage to see that even pdbedit was not working well

for example
pdbedit -a -m -u zigo

give me this error
ldapsam_add_sam_account: User exists without samba attributes: adding them
init_ldap_from_sam: Setting entry for user: zigo$
smbldap_modify: dn => [cn=zigo$,ou=Systems,dc=domain,dc=int]
ldapsam_modify_entry: Failed to modify user dn=
cn=zigo$,ou=Systems,dc=domain,dc=int with: Object class violation
        object class 'sambaSamAccount' requires attribute 'sambaSID'
ldapsam_add_sam_account: failed to modify/add user with uid = zigo$ (dn
= cn=zigo$,ou=Systems,dc=domain,dc=int)
Unable to add machine! (does it already exist?)

in my ldap base zigo$ exist like this

dn:cn=zigo$,ou=Systems,dc=domain,dc=int
objectClass: top
objectClass: inetOrgPerson
objectClass: posixAccount
uidNumber: 7297
uid: zigo$
cn: zigo$
sn: zigo$
gidNumber: 604
homeDirectory: /dev/null
loginShell: /bin/false
gecos: Machine Account
description: Machine Account

I have found nothing on the net to help me
so if you have any idea

thanks

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




More information about the samba mailing list