export User list to another offline domain

  • Thread starter Thread starter Sanjay Mishra
  • Start date Start date
S

Sanjay Mishra

Dear All
I have set up a test lab. I have a XX domain in the production. There is
other domain in the test LAB They are not connected to each other on same
network. I want to copy all users from the production domain to the test
lab domain

Please tell me how can i do this
Regards
Sanjay
(e-mail address removed)
 
In
Sanjay Mishra said:
Dear All
I have set up a test lab. I have a XX domain in the production. There
is other domain in the test LAB They are not connected to each other
on same network. I want to copy all users from the production domain
to the test lab domain

Please tell me how can i do this
Regards
Sanjay
(e-mail address removed)

You can use CSVDE or LDIFDE.

237677 - Using LDIFDE to Import and Export Directory Objects to Active
Directory:
http://support.microsoft.com/default.aspx?kbid=237677

327620 - HOW TO Use Csvde to Import Contacts and User Objects into Active
Directory:
http://support.microsoft.com/default.aspx?scid=kb;en-us;327620

Csvde - Another How to:
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/proddocs/datacenter/csvde.asp

--
Regards,
Ace

Please direct all replies ONLY to the Microsoft public newsgroups
so all can benefit.

This posting is provided "AS-IS" with no warranties or guarantees
and confers no rights.

Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT, MVP
Microsoft Windows MVP - Windows Server - Directory Services

Security Is Like An Onion, It Has Layers
HAM AND EGGS: A day's work for a chicken;
A lifetime commitment for a pig.
 
I tried that but the problem is both the domain have different names and
they error

sanjay
"Ace Fekay [MVP]"
 
Sanjay,

This should not present any problems. Simply export the .ldf file ( I am a
fan of ldifde! ) from the production domain ( remember to use the -m switch
as well as the -l switch so that you can include only those 'fields' that
you want ), open the .ldf file with NotePad and then simply use 'replace
with...' to replace the production domain name (
DC=productiondomain,DC=com ) with the lab domain name (
DC=labdomain,DC=com ).

HTH,

Cary

Sanjay Mishra said:
I tried that but the problem is both the domain have different names and
they error

sanjay
"Ace Fekay [MVP]"
In Sanjay Mishra <[email protected]> made a post then I commented below

You can use CSVDE or LDIFDE.

237677 - Using LDIFDE to Import and Export Directory Objects to Active
Directory:
http://support.microsoft.com/default.aspx?kbid=237677

327620 - HOW TO Use Csvde to Import Contacts and User Objects into Active
Directory:
http://support.microsoft.com/default.aspx?scid=kb;en-us;327620

Csvde - Another How to:
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/proddocs/datacenter/csvde.asp
 
In
Cary Shultz said:
Sanjay,

This should not present any problems. Simply export the .ldf file (
I am a fan of ldifde! ) from the production domain ( remember to use
the -m switch as well as the -l switch so that you can include only
those 'fields' that you want ), open the .ldf file with NotePad and
then simply use 'replace with...' to replace the production domain
name ( DC=productiondomain,DC=com ) with the lab domain name (
DC=labdomain,DC=com ).

HTH,

Cary


Hi Cary,

I actually like to use both tools, but it depends on what I'm doing. I've
used ldifde to modify 1000's of accounts in the past. Great tool! For simple
extracts to export them to an Excel file, csvde is handy.

Ace
 
Ace,

You are correct. Both are nice tools. For some reason ldifde just works
better for me. I guess that I am going to have to get over this and start
using csvde a little bit more. I should not 'discriminate'!

Cary

"Ace Fekay [MVP]"
 
In
Cary Shultz said:
Ace,

You are correct. Both are nice tools. For some reason ldifde just
works better for me. I guess that I am going to have to get over
this and start using csvde a little bit more. I should not
'discriminate'!

Cary

Nah, I wouldn't call it that. Probably just never needed to make a csv file
of it.

:-)

Ace
 
Back
Top