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.