Aaron,
I might suggest that you take a look at ldifde or csvde to do this. Jerold
has offered another way. There is also scripting ( but that is a bit more
complicated.... ).
An example using ldifde might look like this:
ldifde -f c:\system\groups.ldf -s dc01.yourdomain.com -t 389 -d
"dc=yourdomain,dc=com" -r "(objectClass=group)" -p subtree.
This would give you everything for each and every group in the
'yourdomain.com' domain. You might want to customize this a little bit.
You might store all of your security groups in an OU called 'SecurityGroups'
and all of your distribution groups in an OU called 'DistributionGroups'.
In that case the command might look like this:
ldifde -f c:\system\secgroups.ldf -s dc01.yourdomain.com -t 389 -d
"ou=securitygroups,dc=yourdomain,dc=com" -r "(objectClass=group)" -p
subtree.
ldifde -f c:\system\distgroups.ldf -s dc01.yourdomain.com -t 389 -d
"ou=distributiongroups,dc=yourdomain,dc=com" -r "(objectClass=group)" -p
subtree.
You could also use the -l switch ( that is the lower case letter 'L' ) to
further limit what the results hold. So, you might want to add at the
following at the end of the above command: -l
"DN,sAMAccountName,member,blah!,blah!,blah!"
HTH,
--
Cary W. Shultz
Roanoke, VA 24012
WIN2000 Active Directory MVP
http://www.activedirectory-win2000.com
(soon to be updated!!!)
http://www.grouppolicy-win2000.com
(soon to be updated!!!)