We have Openldap configured here and users are able to use ldap for login to client machines. But any way to check the users currently logged into machines using LDAP ? I would like to find which user has logged into which machine using LDAP ?
Linux – Find users currently logged in using ldap
authenticationldaplinuxopenldap
Related Topic
- LDAP – How to Test an LDAP Connection from a Client
- Linux – How to map existing LDAP users to users in a different LDAP server
- LDAP queries for local users
- SSH Key Authentication – How to Set Up SSH Key Authentication Using LDAP
- OpenLDAP – How to Allow Users and Groups Access to Certain Client Machines
- Ssl – ldap_result: Can’t contact LDAP server (-1)
- LDAP password expiry notification at login prompt
Best Answer
AFAIK LDAP does not implement session management - it just provides a directory service - and its data can be cached heavily elsewhere. Also it can provide information other than authentication. So there's no such thing as "logged into LDAP" and no way to practically measure it.
Presumably you maintain your LDAP implementation so that your users can access applications - you'd need to look at these applications to determine who currently has an open session (assuming the applications are stateful - HTTP is not).