Use LDIFDE to look up the distribution lists a user is a member of

I’ve blogged previously about using ldp, a handy tool:

I had to use it again recently to look up the DLs a user was on, but the default display in LDP does not contain enough characters for that attribute to show the full results for any real-world case (I myself am on… let’s just say way too many DLs).

So in order to get the full list, I had to use ldifde (which should be on any win2k3 box by default). The syntax is as follows:

ldifde -d “DNOfTheObject” -f c:\export.txt

So for example:

ldifde -d “CN=Exchange Goddess,DC=corp,DC=mycompany,DC=com” -f c:\export.txt

Then look in export.txt for MemberOf.

Of course, this can be used to look up any attribute… I just find it handiest for MemberOf and use ldp for most everything else.

Comments (2)

  1. Anonymous says:

    Here’s the list about the latest news and articles around Exchange and messaging in general:


  2. declan says:

    Also – just add -l "member" and no searching through the export file is necessary… only the member list will be exported.


    ldifde -d "CN=Exchange Goddess,DC=corp,DC=mycompany,DC=com" -f c:export.txt -l "memberOf"