Import only selected users- ldifde

G

Guest

I want to import only the added users list from Active directory while
importing the AD users...

Users like ASPNet, DHCP Administrators, Domain users etc are not required.....

while importing usind ldifde
 
T

Tomasz Onyszko

Sanjeev said:
I want to import only the added users list from Active directory while
importing the AD users...

Users like ASPNet, DHCP Administrators, Domain users etc are not required.....

while importing usind ldifde

You have to filter these users from ldif file before doing import
 
G

Guest

Hi Tomasz ,

can you please tell me the filter for importing only the added domain
users....

But not users like ASPNET, Domain .... etc
 
T

Tomasz Onyszko

Sanjeev said:
Hi Tomasz ,

can you please tell me the filter for importing only the added domain
users....

But not users like ASPNET, Domain .... etc

By filtering I meant removing those entries from LDIFDe file before
using it as an input for ldifde.exe
 
G

Guest

Hi Tomasz,

I wrote like this...

ldifde -f c:\export.ldif -d "Cn=users,dc=tedexch,dc=com" -r
"(objectclass=user)"

but it is listing all the user entries....

in this user entries i dont want entries like ASPNET, Domain... , SQL
DEBUGGER etc...

Can you tell how to do
 
R

Richard Mueller

Hi,

From your command line, I gather that the export file you created is
C:\export.ldif. Before using this file to import you should edit the file
C:\export.ldif and remove the user entries you don't want. When you import
you will use the -i switch and designate this modified file as the import
file.
 

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