/build/static/layout/Breadcrumb_cap_w.png

LDAP Label with wildcard

Has anyone ever created an LDAP label that includes a wildcard? I would like a label that will apply to all machines in OUs beneath a certain level, but the LDAP labels only seem to apply to a specific terminal OU (one without children).

Our AD structure includes separate OUs for each lab:
Lab Systems
->Building 1
---->Lab 1
---->Lab 2
->Building 2
---->Lab 1

etc.

I tried making an LDAP label that looks for:
distinguishedName=CN=KBOX_COMPUTER_NAME,*,OU=Lab Systems,OU=GPO Exceptions,DC=FAS,DC=LCL)

but it doesn't apply to any systems. If I include the entire OU tree then the label applies, but I don't want a label for each lab, I'd like a label that would apply to all systems beneath the Lab Systems OU.

Thanks in advance.

0 Comments   [ + ] Show comments

Answers (3)

Posted by: ncsutmf 12 years ago
Green Belt
2
Try something like this.

Search Base DN: OU=Lab Systems,OU=GPO Exceptions,DC=FAS,DC=LCL
Search Filter: (sAMAccountName=KBOX_COMPUTER_NAME$)
Posted by: scottlutz 12 years ago
Orange Senior Belt
0
If you are on a recent Domain setup, you may want to look at this article:
http://www.msresource.net/knowledge_base/articles/info:_what_are_active_directory_recursive_queries.html

HTH,
Scott
Posted by: steelc 12 years ago
Senior Yellow Belt
0
Thanks, ncsutmf, that did the trick.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ