0 Replies Latest reply on Nov 7, 2007 4:31 AM by 807573

    Accessing Data server version from code using API


      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,