s3 - s4 conversion

Lukasz Zalewski lukas at eecs.qmul.ac.uk
Wed Apr 13 14:22:05 MDT 2011


>
> I believe if I import the Computers first then the users I get the
> proper results.. I believe the Groups are my issue
>

When i add new user accounts and need to assign them to an existing 
group i have to do it in a two stage process:
First ldbadd (with magic oids)
followed by a standard ldbmodify where the ldif contains
dn: CN=existinggroup,OU=Domain Groups,DC=....
changetype: modify
add: member
member: CN=newmember,OU=Domain Users,DC=...

Tomorrow I will try to create and add new group (with members) and let 
you know the results

Best

Luk


More information about the samba-technical mailing list