General discussion


LDIFDE 2 export based on GroupMembership

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!

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by Joseph Moore In reply to LDIFDE 2 export based on ...

Try this page for the syntax:

hope this helps

Collapse -

by BPADT In reply to

Poster rated this answer.

Collapse -

by azizhakim In reply to LDIFDE 2 export based on ...

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 <servername> -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

Related Discussions

Related Forums