Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.