Enabling LDAP directory services

NoteLDAP is only supported with reentrant libraries. You must use isql_r, instead of isql, when connecting to a server using LDAP directory services. The DRIVERS section in libtcl.cfg may need to be modified to use the reentrant driver.

StepsUsing a directory service

  1. Configure the LDAP server according to the vendor-supplied documentation.

  2. Add the path environment variable to the LDAP library for your platform, for example:

    setenv LD_LIBRARY_PATH| ${LD_LIBRARY_PATH}:$SYBASE/$SYBASE_OCS/lib3p
    

    NoteSee Table 5-5 for a list of environment variables and libraries for your platform.

  3. Configure the libtcl*.cfg file to use directory services.

    Use any standard ASCII text editor to:

  4. Verify that the appropriate environment variable points to the required third-party libraries. Table 5-5 lists the location of the Netscape LDAP SDK libraries.

    Table 5-5: Environment variables

    Platform

    Environment variable

    Library location

    HP Tru64 UNIX

    LD_LIBRARY_PATH

    $SYBASE/$SYBASE_OCS/lib3p

    HP-UX 32-bit

    SHLIB_PATH

    $SYBASE/$SYBASE_OCS/lib3p

    HP-UX 64-bit

    LD_LIBRARY_PATH

    $SYBASE/$SYBASE_OCS/lib3p64

    Linux

    LD_LIBRARY_PATH

    $SYBASE/$SYBASE_OCS/lib3p

    IBM RS6000 32-bit

    LIBPATH

    $SYBASE/$SYBASE_OCS/lib3p

    IBM RS6000 64-bit

    Not supported

    SGI 32-bit

    LD_LIBRARY_PATH

    $SYBASE/$SYBASE_OCS/lib3p

    SGI 64-bit

    Not supported

    Sun Solaris 32-bit

    LD_LIBRARY_PATH

    $SYBASE/$SYBASE_OCS/lib3p

    Sun Solaris 64-bit

    LD_LIBRARY_PATH_64

    $SYBASE/$SYBASE_OCS/lib3p64

  5. Add your server entry to the LDAP server using dscp or dsedit. See “Adding and modifying server entries”, and “Adding a server to the directory services”.