+ Post New Thread
Results 1 to 2 of 2
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 ...
  1. #1

    Miscbrah's Avatar
    Join Date
    Dec 2011
    Posts
    1,021
    Thank Post
    291
    Thanked 298 Times in 180 Posts
    Rep Power
    124

    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.

  2. #2

    Miscbrah's Avatar
    Join Date
    Dec 2011
    Posts
    1,021
    Thank Post
    291
    Thanked 298 Times in 180 Posts
    Rep Power
    124
    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



SHARE:
+ Post New Thread

Similar Threads

  1. LDIFDE Export Users
    By barrystone in forum Windows Server 2008 R2
    Replies: 0
    Last Post: 16th June 2011, 05:20 PM
  2. PaperCut Export/Import
    By iMash in forum How do you do....it?
    Replies: 6
    Last Post: 9th April 2011, 05:17 PM
  3. Export/Import into SIMS Marksheets
    By Sleepmaster in forum MIS Systems
    Replies: 1
    Last Post: 24th September 2008, 01:55 PM
  4. Replies: 11
    Last Post: 22nd May 2008, 09:23 AM
  5. On "hold" to BT on the phone
    By aliv25 in forum General Chat
    Replies: 13
    Last Post: 23rd November 2007, 10:11 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •