Discussion Locked

LDIFDE 2 export based on GroupMembership

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Anybody know the syntax of an LDIFDE statement that would allow me to export the dislplayname and email of every user in my domain that (memberof:cn=engineers/project managers,ou=groups,dc=test,dc=com)?

Thank you very much!

3 replies

by azizhakim

I Have a batch file or an ldf file that would export all users displayname and e-mail if any
ldifde -v -f c:\exportusers.ldf -s -d "ou=??,dc=??,dc=??" -r "(&(objectcategory=person)(objectclass=user))" -l "mail,displayname"
-d switch is the search filter to the ou level like your question asked.Hope this helps

This discussion is closed to new replies.