Hi Team,

>From my Java Program i am in need to find the LDAP Server version.

i am able to get supportedLDAPVersion using below search query,

LDAPSearchResults ldapSearchResults = ldapConn.search("",
LDAPConnection.SCOPE_BASE, "(objectclass=*)", new String[]
{"supportedLDAPVersion"}, false);

No results found, when i try to use vendorVersion and vendorName (like that
queried like below)

ldapSearchResults = ldapConn.search("", LDAPConnection.SCOPE_BASE,
"(objectclass=*)", new String[] {"vendorVersion"}, false)

is there any approach that can follow, please let me know.

i am need to get info as below,

root@docker_container:/etc/ldap/slapd.d# ldapsearch -VV
ldapsearch: @(#) $OpenLDAP: ldapsearch  (Jul 30 2019 16:24:19) $
        Debian OpenLDAP Maintainers <
[email protected]>
       * (LDAP library: OpenLDAP *20448*)*
root@docker_container:/etc/ldap/slapd.d#

Thank you.
--
Thanks & Regards,

Vijay Kumar
*+91-94944 44009*

Reply via email to