?
Solved

Need an LDAP filter for ADUC

Posted on 2006-06-06
4
Medium Priority
?
931 Views
Last Modified: 2008-02-01
I am looking to distribute an MMC which has some custom queries...only one query remains. I need to query with a two column result: Username & the "Public Delegates" property. This will allow my admins to see who has delegated access to other peoples mailboxes.

The following LDIFDE export show far too much data and is not a tidy surfacing of the required data. But it shows somewhat of the area of AD I am seeking to expose.

LDIFDE.EXE -F DELEGATES.TXT -D "DC=DOMAIN,DC=COM"
-L NAME,PUBLICDELEGATES,PUBLICDELEGATESBL
-R "(|(PUBLICDELEGATES=*)(PUBLICDELEGATESBL))"

Please help me compose the LDAP statement to fit into the Save Queries in ADUC.

Thank you,
John
0
Comment
Question by:John Darby
  • 2
  • 2
4 Comments
 
LVL 23

Accepted Solution

by:
TheCleaner earned 2000 total points
ID: 16846861
for the saved queries in ADUC I would think the following would work:

(&(&(objectCategory=person)(objectClass=user)(name=*)(PUBLICDELEGATES=*)))

However I'm not sure how you are going to "see" the public delegates as the columns displayed in the window don't allow for that attribute that I know of.
0
 
LVL 1

Author Comment

by:John Darby
ID: 16847128
I agree...you get the points, my friend. Do you know of a way for me to display usernames side-by-side with their one or more delegates?

I appreciate your time!

John
0
 
LVL 23

Expert Comment

by:TheCleaner
ID: 16848712
I do not directly inside ADUC, you'd have to right the script to send it to a .csv and then look at them through excel or similar.
0
 
LVL 1

Author Comment

by:John Darby
ID: 16853457
Thanks for the info!
0

Featured Post

Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question