Export Active directory users and groups.

A

Alam

Hi,

I used following command to export all users defined in windows 2000 active
directory. Is there any way to export groups and their relationship with
users...

ldifde -f Exportuser.ldf -s MATRIX -d "dc=abc,dc=com,dc=my" -p subtree -r
"(&(objectCategory=person)(objectClass=User)(givenname=*))" -l
"cn,givenName,objectclass,samAccountName"

Thankx..

Tausif
 
S

Sergio Fonseca [MVP]

Hi,

Something like this?

dsget group "CN=NameOfTheGroup,OU=MyUsers,DC=Dom1,DC=Dom" -members | dsget
user -display

Qualquer sugestão deve ser testada antes de aplicada - www.gupade.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Active Directory Export/Import 1
LDIFDE Export 2
LDIFDE - Export 2
LDIFDE 2
Trying to get same results from LDIFDE vs. LDP 1
Help w/ LDIFDE 1
LDF File Line Breaks 2
Export OUs and CNs 2

Top