Siebel Security Guide > Security Adapter Authentication > Process of Installing and Configuring LDAP Client Software >

Configuring the siebenv.csh and siebenv.sh Scripts for the LDAP Client


After you have installed the IBM LDAP Client on your UNIX operating system, you must add the directory path of the IBM LDAP 6.0 libraries to the library path environment variable in either the siebenv.csh (C shell) or siebenv.sh (Bourne or Korn shell) shell scripts. When you source these scripts, they set the environment variables for your Siebel implementation.

This task is a step in Process of Installing and Configuring LDAP Client Software.

The siebenv.csh and siebenv.sh scripts are created in the $SIEBEL_ROOT directory during the Siebel Server installation and configuration process. Edit the siebenv.csh or siebenv.sh script, as described in the following topics, replacing the directory /opt/ibm/ldap/v6.0/lib with the installation path of your IBM LDAP Client libraries, if you installed into a different directory.

NOTE:  Siebel supports only the IBM 32-bit LDAP Client so you can use only the 32-bit LDAP Client libraries with Siebel Business Applications.

Linux and Oracle Solaris Operating Systems

On Linux and Oracle Solaris operating systems, the name of the library path environment variable is LD_LIBRARY_PATH. Depending on whether you source the siebenv.csh or the siebenv.sh script, set the LD_LIBRARY_PATH variable as follows:

  • siebenv.csh

    if ($?LD_LIBRARY_PATH) then
    setenv LD_LIBRARY_PATH
    ${SIEBEL_ROOT}/lib:${SIEBEL_ROOT}/lib/odbc/merant:/opt/ibm/ldap/v6.0/lib:${MWHOME}/lib:${SQLANY}/lib:/usr/lib:${LD_LIBRARY_PATH}
    else
    setenv LD_LIBRARY_PATH
    ${SIEBEL_ROOT}/lib:${SIEBEL_ROOT}/lib/odbc/merant:/opt/ibm/ldap/v6.0/lib:${MWHOME}/lib:${SQLANY}/lib:/usr/lib
    endif

  • siebenv.sh

    if [ a${LD_LIBRARY_PATH} = ${LD_LIBRARY_PATH}a ]
    then
    LD_LIBRARY_PATH=${SIEBEL_ROOT}/lib:${SIEBEL_ROOT}/lib/odbc/merant:/opt/ibm/ldap/v6.0/lib:${MWHOME}/lib:${SQLANY}/lib:/usr/lib
    else
    LD_LIBRARY_PATH=${SIEBEL_ROOT}/lib:${SIEBEL_ROOT}/lib/odbc/merant:/opt/ibm/ldap/v6.0/lib:${MWHOME}/lib:${SQLANY}/lib:/usr/lib:${LD_LIBRARY_PATH}
    fi
    export LD_LIBRARY_PATH

AIX Operating System

On the AIX operating system, the name of the library path environment variable is LIBPATH. Depending on whether you source the siebenv.csh or the siebenv.sh script, set the LIBPATH variable as follows:

  • siebenv.csh

    if ($?LIBPATH) then
    setenv LIBPATH
    ${SIEBEL_ROOT}/lib:${SIEBEL_ROOT}/lib/odbc/merant:/opt/ibm/ldap/v6.0/lib:${MWHOME}/lib:${SQLANY}/lib:/usr/lib:${LIBPATH}
    else
    setenv LIBPATH
    ${SIEBEL_ROOT}/lib:${SIEBEL_ROOT}/lib/odbc/merant:/opt/ibm/ldap/v6.0/lib:${MWHOME}/lib:${SQLANY}/lib:/usr/lib
    endif

  • siebenv.sh

    if [ a${LIBPATH} = ${LIBPATH}a ]
    then
    LIBPATH=${SIEBEL_ROOT}/lib:${SIEBEL_ROOT}/lib/odbc/merant:/opt/ibm/ldap/v6.0/lib:${MWHOME}/lib:${SQLANY}/lib:/usr/lib
    else
    LIBPATH=${SIEBEL_ROOT}/lib:${SIEBEL_ROOT}/lib/odbc/merant:/opt/ibm/ldap/v6.0/lib:${MWHOME}/lib:${SQLANY}/lib:/usr/lib:${LIBPATH}
    fi
    export LIBPATH

HP-UX Operating System

On the HP-UX operating system, the name of the library path environment variable is SHLIB_PATH. Depending on whether you source the siebenv.csh or the siebenv.sh script, set the SHLIB_PATH variable as follows:

  • siebenv.csh

    if ($?SHLIB_PATH) then
    setenv SHLIB_PATH
    ${SIEBEL_ROOT}/lib:${SIEBEL_ROOT}/lib/odbc/merant:/opt/ibm/ldap/v6.0/lib:${MWHOME}/lib:${SQLANY}/lib:/usr/lib:${SHLIB_PATH}
    else
    setenv SHLIB_PATH
    ${SIEBEL_ROOT}/lib:${SIEBEL_ROOT}/lib/odbc/merant:/opt/ibm/ldap/v6.0/lib:${MWHOME}/lib:${SQLANY}/lib:/usr/lib
    endif

  • siebenv.sh

    if [ a${SHLIB_PATH} = ${SHLIB_PATH}a ]
    then
    SHLIB_PATH=${SIEBEL_ROOT}/lib:${SIEBEL_ROOT}/lib/odbc/merant:/opt/ibm/ldap/v6.0/lib:${MWHOME}/lib:${SQLANY}/lib:/usr/lib
    else
    SHLIB_PATH=${SIEBEL_ROOT}/lib:${SIEBEL_ROOT}/lib/odbc/merant:/opt/ibm/ldap/v6.0/lib:${MWHOME}/lib:${SQLANY}/lib:/usr/lib:${SHLIB_PATH}
    fi
    export SHLIB_PATH

Siebel Security Guide Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices.