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

Re: version of openldap server



>It is possible to know the version of the server
>from a client application that build with the libldap and liblber ?

You can query the DSA's DSE to see what protocol versions it supports.  If
it only supports v2 it is most likely a 1.x OpenLDAP,  if it supports both
v2 and v3 (or just v3 because v2 is disabled) it is a 2.x installation.

ldapsearch -x -b '' -s base '(objectclass=*)' '+'

More info in my LDAP presentation
ftp://kalamazoolinux.org/pub/pdf/ldapv3.pdf