Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using PhpLdapAdmin, how do you disable/lock a user/uid so that it can't be used to login to anything on the network that uses LDAP?

share|improve this question
up vote 1 down vote accepted

The easiest method would be to just zero the password. You could also add an explicit ACL to deny that user access to the directory (remember, an LDAP authentication triggers a bind call).

You could also add a custom field and update your search filter to only include users where that custom field is correct. I do it this way.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.