Windows Server 2000/2003 Thread, Hand-holding on LDIFDE export/import in Technical; Hi gang, got a couple of questions on this (largely so I don't bork anything too hard!)
My source domain ...
7th March 2012, 01:21 PM #1
Hand-holding on LDIFDE export/import
Hi gang, got a couple of questions on this (largely so I don't bork anything too hard!)
My source domain (2k3) is currently active, my target domain (2k8r2) not yet so, so any experimenting can go on there.
Anyways, looking to export and import .ldfs of users and groups. One .ldf for students, one .ldf for staff, one .ldf for security groups and one final .ldf for distribution groups - just to segment the process a little and give me some rollback if I need.
First question is, after reading around and seeing THIS it looks as though that -h switch somewhere in the export and import commands will ALSO move the user passwords over. Really?? I didn't think LDIFDE could do that... If it can't directly but CAN import passwords from a text file, how does it?
Second is, how do I just import the groups? Or am I even right in segmenting things the way I am doing?
Any help appreciated hugely and would deserve a pint in person if ever happens!
Edit - just to get started, I was going to use the following to at least run the Groups export. Just tell me this won't break anything if it looks decent:
ldifde -f groups.ldf -p Subtree -r "(objectClass=group)" -l "cn, objectclass,description, member,groupType,samAccountName"
Last edited by Miscbrah; 7th March 2012 at 01:32 PM.
IDG Tech News
7th March 2012, 04:43 PM #2
Hi - think I'm trying another way entirely.
To anyone viewing this in years to come, this export worked and didn't bugger anything up:
ldifde -f groups.ldf -p Subtree -s <servername> -r (objectClass=group) -l cn, objectclass,description, member,groupType,samAccountName
By barrystone in forum Windows Server 2008 R2
Last Post: 16th June 2011, 05:20 PM
By iMash in forum How do you do....it?
Last Post: 9th April 2011, 05:17 PM
By Sleepmaster in forum MIS Systems
Last Post: 24th September 2008, 01:55 PM
By ajbritton in forum Windows
Last Post: 22nd May 2008, 09:23 AM
By aliv25 in forum General Chat
Last Post: 23rd November 2007, 10:11 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)