[Samba] problem to add/join machine

zorg zorg at probesys.com
Tue Jan 3 18:11:10 GMT 2006


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

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



More information about the samba mailing list