0 Replies Latest reply: Nov 6, 2007 10:31 PM by 807573 RSS

    Accessing Data server version from code using API

    807573
      Hi,

      We are upgrading our code for use from Sun One DS 5.2 to 6.2. As the APIs have changed for the 2 versions, i have to find out Sun One's data server version to decide which function call to use. That is, if DS version is 5.2 use the old function else use the new function call.

      So i wanted to know if there is any API that can give me the data server version.
      Other options could be that the version is stored in some attribute (eg. nsslapd-directory attribute) and i retrieve the value in that attribute using some other API.

      Please let me know the APIs, if present so that i could use them.

      Thanks in advance,
      Komal.