CSVDE and LDIFDE

M

Milt

Greetings: I am trying to populate a Windows 2000 AD
using either the CSVDE or LDIFDE. It doesn't matter which
I use as long as the tool performs as necessary.
The AD has been established with a domain name.
Using either tool, I have been able to create OUs,
nested OUs, security groups, and User accounts. The
security groups can be placed in the appropriate OU or
nested OU using the LDIFDE utility tool. The users are
placed in the Users container using the LDIFDE utility
tool. The problem that I'm having is using the tool to
add the users from the Users container into the security
group(s) in the OUs.
Here is the LDIFDE syntax example that is being used.
The aim is to add the user 'Frank S. Sinatra' to the
ExecOfficers security group within the ExecOffices OU.

dn: CN=Frank S. Sinatra,CN=Users,DC=mydomain,DC=edu
Changetype: add
memberof:
CN=ExecOfficers,OU=ExecOffices,DC=mydomain,DC=edu
distinguishedName:
CN=Frank S. Sinatra,CN=Users,DC=mydomain,DC=edu
objectCategory:
CN=Person,CN=Schema,CN=Configuration,DC=mydomain,dc=edu
objectClass: user
sAMAccountName: fssinatra
userPrincipalName: (e-mail address removed)

The command line systax for importing the file works fine
until I get to the part of the ldf file where I want to
modify the security group.

Any assistance or suggestions would be greatle
appreciated. regards, milt
 
A

Adam Wood

Milt said:
Here is the LDIFDE syntax example that is being used.
The aim is to add the user 'Frank S. Sinatra' to the
ExecOfficers security group within the ExecOffices OU.

dn: CN=Frank S. Sinatra,CN=Users,DC=mydomain,DC=edu
Changetype: add
memberof:
CN=ExecOfficers,OU=ExecOffices,DC=mydomain,DC=edu
distinguishedName:
CN=Frank S. Sinatra,CN=Users,DC=mydomain,DC=edu
objectCategory:
CN=Person,CN=Schema,CN=Configuration,DC=mydomain,dc=edu
objectClass: user
sAMAccountName: fssinatra
userPrincipalName: (e-mail address removed)

The command line systax for importing the file works fine
until I get to the part of the ldf file where I want to
modify the security group.

Any assistance or suggestions would be greatle
appreciated. regards, milt

memberOf is a calculated property -- you need to modify the group and
not the user.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top