09-13-2011 11:50 AM - edited 03-16-2019 06:58 AM
I'm trying to setup a LDAP Custom Filter to filter specifc users in AD, but I don't see any good examples for setting up a filter. I haven't done that before.
For example,
Users exist in OU=TEST, DC=CISCO,DC=COM
I want to filter the user "testuser1" from that OU and allow all other users.
What would be the filter syntax I can use in CUCM 8?
Thank you!
-rya
09-13-2011 12:01 PM
Here's how to not import the user "joemar2":
(!(sAMAccountName=joemar2))
09-13-2011 12:56 PM
Thank you!
09-13-2011 01:04 PM
Another question, how would this same string work if there were multple users I don't want to import?
Thank you!
-rya
09-13-2011 01:44 PM
I guess the short answer is 'not well'. If you want to frequently add users that should be blocked, you may be better off simply denying 'read' permissions to the user accounts in question for the CCM LDAP service account.
At least that way it's all managed in one place - i.e. whoever adds the account to AD and determines it should be 'ex-directory' can just set the permissiosn within AD.
Regards
Aaron
Please rate helpful posts..
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide