I have a slapd LDAP server and need to limit the number of active sessions per user. Is there a configuration parameter I can change to achieve this?


I don't think OpenLDAP can be configured to do that. It would require authenticated binds to determine who is connecting to the directory server so it could keep track of connections per user. There is a similar question in which the OP found a workaround. Perhaps, that may work for you. However, it's not user based limitation like you want. It's IP address based and requires firewall configuration.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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