Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

CUPS filter with exclusion

Hello,

I'm facing a problem using LDAP requests with CUPC and a filter into the Search Context.

Several weeks delay can occur between the employee's departure and the sAMAccountName deletion.

So I would like to filter these former employees.

The LDAP field userAccountControl is the only one that is common to these "old" Windows accounts.

This string is working but shows old accounts

;(&(objectClass=inetOrgPerson)(AccountType=standard)(employeeID=*))

This string does not work at all with CUPC but works with a standard LDAP query software.

;(&(objectClass=inetOrgPerson)(AccountType=standard)(employeeID=*)(!userAccountControl:1.2.840.113556.1.4.803:=2))

Is exclamation mark a supported character ?

Thanks for help.

  • Other Collaboration Voice and Video Subjects
1 REPLY

Re: CUPS filter with exclusion

Update

The value userAccountControl:1.2.840.113556.1.4.803:=2 is understood by CUPC

(explanation about userAccountControl attribute http://support.microsoft.com/?id=269181)

If I delete the exclamation mark, I can find only disabled accounts with CUPC search field.

Is exclamation mark a supported character ? Or can I replace it with another expression ?

296
Views
0
Helpful
1
Replies