Question : Filter disabled users from LDAP search in Printer

Hi guys,
I am setting up LDAP on my Xerox 7655 printer and all works good, expect that I cannot filter out the disabled users.  I don't have the option of moving the container with the disabled users out of my search root either.  I have tried putting:

&(objectCategory=person)(objectClass=user)( !(userAccountControl:1.2.840.113556.1.4.803:=2)))

into my search filter but to no avail.  Hoping someone could help.  Attached is a screenshot of where you input the filter settings

Answer : Filter disabled users from LDAP search in Printer

HI there,

The syntax would be.

(&(objectCategory=person)(objectClass=user)(!userAccountControl:1.2.840.113556.1.4.803:=2))

Slightly different to what you posted. This is the correct LDAP filter syntax to get all user accounts, except those that are disabled.

Tony

Random Solutions  
 
programming4us programming4us