Thursday, December 3, 2009

Version of the embedded opends config store

Opensso comes with its very own bundles opends inside, which acts as config store, and can also double as user store for POCs.
NOTE: Using the embedded opends as user store in production environment is not supported

Today , I ran into a requirement where I had to find the version of the opends in one of the installs
This can be achieved using ldapsearch.
  • ldapsearch -h abc.abc.com -p 53389 -D"cn=directory manager" -w ****** -b "cn=Version,cn=monitor" -s base ""
    version: 1
    dn: cn=Version,cn=monitor
    objectClass: extensibleObject
    objectClass: top
    objectClass: ds-monitor-entry
    revisionNumber: 5097
    shortName: OpenDS
    compactVersion: OpenDS-1.0.2-build002
    pointVersion: 2
    cn: Version
    buildID: 20090317124610Z
    majorVersion: 1
    productName: OpenDS Directory Server
    minorVersion: 0
    fullVersion: OpenDS Directory Server 1.0.2-build002
    buildNumber: 2

  • ldapsearch -h abc.abc.com -p 53389 -D"cn=directory manager" -w ****** -b "" -s base "" vendorVersion
    version: 1
    dn:
    vendorVersion: OpenDS Directory Server 1.0.2-build002

No comments:

Post a Comment