Frédéric Descamps
2004-Feb-04 15:41 UTC
[Samba] Still with my problem of samba 3.0.2rc2 and LDAP
Hello the list, When I try to add a w2k worsksation directly from winows it fails (see my previous posts on this list). Now if I try with pdbedit, it fails too :-( here is the ouput : # pdbedit -a -m fred-6csvh95hqd Server's Role (logon server) NOT ADVISED with domain-level security Trying to load: ldapsam:ldap://127.0.0.1/ Attempting to register passdb backend ldapsam Successfully added passdb backend 'ldapsam' Attempting to register passdb backend ldapsam_compat Successfully added passdb backend 'ldapsam_compat' Attempting to register passdb backend smbpasswd Successfully added passdb backend 'smbpasswd' Attempting to register passdb backend tdbsam Successfully added passdb backend 'tdbsam' Attempting to register passdb backend guest Successfully added passdb backend 'guest' Attempting to find an passdb backend to match ldapsam:ldap://127.0.0.1/ (ldapsam) Found pdb backend ldapsam Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=MALADREE3))] smbldap_open_connection: connection opened ldap_connect_system: succesful connection to the LDAP server pdb backend ldapsam:ldap://127.0.0.1/ has a valid init Attempting to find an passdb backend to match guest (guest) Found pdb backend guest pdb backend guest has a valid init Trying to load: ldapsam:ldap://127.0.0.1/ Attempting to find an passdb backend to match ldapsam:ldap://127.0.0.1/ (ldapsam) Found pdb backend ldapsam Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=MALADREE3))] smbldap_open_connection: connection opened ldap_connect_system: succesful connection to the LDAP server pdb backend ldapsam:ldap://127.0.0.1/ has a valid init Attempting to find an passdb backend to match guest (guest) Found pdb backend guest pdb backend guest has a valid init pdb_set_username: setting username fred-6csvh95hqd$, was pdb_set_group_sid: setting group sid S-1-5-21-3737323649-216568395-2605648481-515 pdb_set_group_sid_from_rid: setting group sid S-1-5-21-3737323649-216568395-2605648481-515 from rid 515 ldapsam_add_sam_account: Adding new user init_ldap_from_sam: Setting entry for user: fred-6csvh95hqd$ ldapsam_modify_entry: Failed to add user dnuid=fred-6csvh95hqd$,ou=Computers,dc=maladree,dc=be with: Object class violation object class 'sambaSamAccount' requires attribute 'sambaSID' ldapsam_add_sam_account: failed to modify/add user with uid fred-6csvh95hqd$ (dn uid=fred-6csvh95hqd$,ou=Computers,dc=maladree,dc=be) Unable to add machine! (does it already exist?) any idea ?? thx, cheers, fred.
Jérôme Tournier
2004-Feb-04 16:23 UTC
[Samba] Still with my problem of samba 3.0.2rc2 and LDAP
Le Wed, Feb 04, 2004 at 04:48:45PM +0100, Fr?d?ric Descamps a ecrit:> uid=fred-6csvh95hqd$,ou=Computers,dc=maladree,dc=be with: Object class > violation > object class 'sambaSamAccount' requires attribute 'sambaSID'samba can't find the SID of the domain. Does it exist (net getlocalsid) ? -- J?r?me