[Samba] Still with my problem of samba 3.0.2rc2 and LDAP

Frédéric Descamps frederic.descamps at x-tend.be
Wed Feb 4 15:48:45 GMT 2004


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 dn=
uid=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.



More information about the samba mailing list