tags:

views:

449

answers:

1

HI,
I am using LDAP which is installed in a solaris machine. To check the version of LDAP i go to /ldap and check the version installed as if it is version 5 then there is a directory of the name v5.0 and so on. After getting into the directory i check the directory structure.

Can anybody tell me is there any shortest way or one liner to check the version of ldap installed in my machine.

Thanks in advance.

A: 

On Solaris, check out the "pkginfo" command, or try "ldapsearch -V"

pkginfo is giving me the following output ERROR: information for "ldap" was not foundalthough ldap is installed in the machine
PJ
For ldapsearch -V i am getting the following help from man pages and it is not giving me the desired esult: -V version Specify the LDAP protocol version number to be used for the delete operation, either 2 or 3. LDAP v3 is the default. Specify LDAP v2 when connecting to servers that do not support v3.
PJ