Shashikanth Bussa
Shashikanth Bussa

Reputation: 1

How to know current logged in user on OpenLDAP 2.3 server?

How do I know the current logged in users on OpenLDAP 2.3 server? I have configured OpenLDAP 2.3 slurpd replication and my requirement is to know who are all logged in to the systems with using their LDAP account.

Upvotes: 0

Views: 127

Answers (1)

user207421
user207421

Reputation: 310980

You can't. Users are only bound (not logged-in) to an LDAP server for quite short periods of time while they are establishing their own identity. Most of the time it is applications which are logged into the LDAP server, to search it, look up user's permissions, etc, but those connections are quite short-lived as well, although typically prolonged a bit by client-side connection pooling.

You shouldn't be using 2.3: it is many years out of date. Current version of OpenLDAP is 2.4.40, and 2.4.26 was released three years ago. I can't even find how old 2.3 is. You shouldn't be using slurpd replication: it's been obsolete for many years too. You should be using syncrepl.

Upvotes: 1

Related Questions