Assuming that the structures are now the same, then if you modify your query
as follows:
-l "cn,objectclass,ou,member", you should get an output that includes the DN
of the members of each group. Then you should be able to import the output
into your target AD. If the structures are not the same, then the DN will
bite you during import, unless you manually adjust the output file before
import.
Sincerely,
_____
(, / | /) /) /)
/---| (/_ ______ ___// _ // _
) / |_/(__(_) // (_(_)(/_(_(_/(__(/_
(_/ /)
(/
Microsoft MVP - Directory Services
www.readymaids.com <http://www.readymaids.com> - we know IT
www.akomolafe.com <http://www.akomolafe.com>
Do you now realize that Today is the Tomorrow you were worried about
Yesterday? -anon
________________________________
From: [EMAIL PROTECTED] on behalf of Creamer, Mark
Sent: Fri 3/24/2006 8:28 AM
To: [email protected]
Subject: [ActiveDir] ldifde question
Hi, Using LDIFDE, I've been able to export/import users, groups and OUs from
and into our test AD, but I'm trying to figure out whether with the group
export, can I export their memberships as well? Is there a better way to do
that?
This command seems to give me the group names at least...
ldifde -f c:\temp\exportOu.ldf -s myDC -d "dc=my,dc=domain,dc=com" -p subtre
e -r "(&(objectCategory=group)(name=*))" -l "cn,objectclass,ou"
Mark Creamer
Systems Engineer
Cintas Corporation | 6800 Cintas Boulevard | Mason, OH 45040
Email: [EMAIL PROTECTED] | http://www.cintas.com
This e-mail transmission contains information that is intended to be
confidential and privileged. If you receive this e-mail and you are not a
named addressee you are hereby notified that you are not authorized to read,
print, retain, copy or disseminate this communication without the consent of
the sender and that doing so is prohibited and may be unlawful. Please reply
to the message immediately by informing the sender that the message was
misdirected. After replying, please delete and otherwise erase it and any
attachments from your computer system. Your assistance in correcting this
error is appreciated.
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/