[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: How to fetch LDAP Server version using Java



Hi Quanah

Thanks a lot for your reply. I tried but dint get any reply

I think we need to add monitor database. Will try to add the same and let you know.


Regards,
Vijay Kumar

On Thu, Jan 30, 2020 at 10:49 PM Quanah Gibson-Mount <quanah@symas.com> wrote:


--On Thursday, January 30, 2020 2:34 PM +0530 Vijay Kumar
<pasumarthivijaykumar@gmail.com> wrote:

In the future, do not cross post to multiple lists.  You were already told
specifically to address your questions to openldap-technical@openldap.org.

supportedLDAPVersion tracks the LDAP version (LDAP version 3), it does not
track the underlying version of OpenLDAP.

However, if you enable the monitor backend (See the man page for
slapd-monitor(5)), the OpenLDAP version is contained in the monitoredInfo
attribute:

ldapsearch -x -LLL -H ldap:/// -s base -b cn=monitor monitoredInfo
dn: cn=Monitor
monitoredInfo: OpenLDAP: slapd 2.4.48 (Jan 29 2020 19:43:07)

This of course requires that your program have permission to read from that
database.

--Quanah

--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>


--
Thanks & Regards,
 
Vijay Kumar
+91-94944 44009