[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: How to fetch LDAP Server version using Java
- To: Vijay Kumar <pasumarthivijaykumar@gmail.com>
- Subject: Re: How to fetch LDAP Server version using Java
- From: Quanah Gibson-Mount <quanah@symas.com>
- Date: Thu, 30 Jan 2020 09:19:52 -0800
- Cc: openldap-technical@openldap.org
- Content-disposition: inline
- Dkim-filter: OpenDKIM Filter v2.10.3 zmcc-2-mta-1.zmailcloud.com A0258CD217
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=symas.com; s=37C7994C-28CA-11EA-A30F-68F90BB9D764; t=1580404791; bh=xqo2iahYTm6Wr+wugFxvU3vpVIaUUX7qT13r86ziGqU=; h=Date:From:To:Message-ID:MIME-Version; b=uJaEWPDfF9WikOLKkjQgW+kKzYaxmY8LER/5AhMBxHOj50ztnDaM9p0Qy+ikGuMXt E8fSLEBZd4q+9HqRuThx2eZigy9AU7FEOUIA6rgGtiyFPtiXHR/wma3yCWbiUYAb8i PW/wwcrLUUtAmZflFPOVgBBEixq+N2ObG7gdbNDGuT2ytrmUEGBV0VIoH4bcukAfaf 4mjAFUWAvWHhKk3q3BQQGrgvKTd4uc1Gf4iETQoMTz3vZC5WudCSuD7g9D+b7Qj5OR F1r+6Y/TAE/jTSjXMUPgPJPasl8yVWMR4azxUIzt88emlTnl6Rg+5+qFtWHTlW6SlT yPPKKgXi44PkQ==
- In-reply-to: <CAKgG+3d5LzDzdJA5TA6N5XzbQJK=yn8a+1EeHqbfi+WxgnFm_g@mail.gmail.com>
- References: <CAKgG+3fhBp0gLPQDCUpQQaM3DexG3iSphO=hhWbGoqdaFsyFAg@mail.gmail.com> <CAKgG+3d5LzDzdJA5TA6N5XzbQJK=yn8a+1EeHqbfi+WxgnFm_g@mail.gmail.com>
--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>