Does anyone know of a way to extract a list of all hidden recipients? I have about 300 recipients that are hidden from the address list and I need to create a list that I can review. Any help would be appreciated. Thanks.
Change the -d option to your reflect the DN where you want to start the search, replace the <yourdomain> with your domain name.
This will give you an output of each user, group, and contact object that is hidden. You can remove the attributes you don't want by modifying the -l option.
Jon, thanks for the tip! When I run the LDIFDE command it comes back with no entries found. I added CN=clients, which is a container that has nothing but hidden recipients. Any thoughts? Thanks again, I am on the right track.
mortkc
Try this very generic call to LDIFDE, it will give you a ton more info than you are after, but once you get something you can fine tune it. Replace the <info> in the command with appropriate data:
ldifde -d "cn=users,dc=<yourorganization>,dc=<your type, eg: com or gov>" -r "(objectCategory=*)" -l "objectClass,*" -f ldfideout.txt
-bill
Bpierini’s command is an excellent step to ensure you’re command it working, you can also try this less filtered command, which should return all objects with the hide from address book attribute.
Let me know if that works for you any better. Replace the dc=domain with your domain. Also, bpierini’s suggestion points out something that mine does not, if you domain ends with a .gov or .net, etc. use it in place of com.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.