How to make sure that LDAP query will not include disabled users

How to make sure that LDAP query will not include disabled users

101
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 12:59 PM


Question


How can I make sure that the LDAP query, used to map users from LDAP to the Vault, will not include disabled users in its filter?

Environment


10.10;11.5;11.6;11.7;12.0;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Vault-to-Vault;Disaster Recovery Vault;Vault Server;Vault

Answer


Add the following to your existing query:
(&(objectclass=person)(!useraccountcontrol:1.2.840.113556.1.4.803:=2))


Additional Information


Details

Q:

How can I make sure that the LDAP query, used to map users from LDAP to the Vault, will not include disabled users in its filter?


A:

Add the following to your existing query:

(&(objectclass=person)(!useraccountcontrol:1.2.840.113556.1.4.803:=2))

 

 




Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj00000010duCAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail