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 Oracle Database Client on your UNIX operating system, you must add the directory path of the Oracle Database Client 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.

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 Oracle Database Client libraries, $ORACLE_HOME/lib.

NOTE:  If you continue to use the IBM LDAP Client, replace 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.

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

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:/$ORACLE_HOME/lib:${MWHOME}/lib:${SQLANY}/lib:/usr/lib:${LD_LIBRARY_PATH}
    else
    setenv LD_LIBRARY_PATH
    ${SIEBEL_ROOT}/lib:${SIEBEL_ROOT}/lib/odbc/merant:/$ORACLE_HOME/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:/$ORACLE_HOME/lib:${MWHOME}/lib:${SQLANY}/lib:/usr/lib
    else
    LD_LIBRARY_PATH=${SIEBEL_ROOT}/lib:${SIEBEL_ROOT}/lib/odbc/merant:/$ORACLE_HOME/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:/$ORACLE_HOME/lib:${MWHOME}/lib:${SQLANY}/lib:/usr/lib:${LIBPATH}
    else
    setenv LIBPATH
    ${SIEBEL_ROOT}/lib:${SIEBEL_ROOT}/lib/odbc/merant:/$ORACLE_HOME/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:/$ORACLE_HOME/lib:${MWHOME}/lib:${SQLANY}/lib:/usr/lib
    else
    LIBPATH=${SIEBEL_ROOT}/lib:${SIEBEL_ROOT}/lib/odbc/merant:/$ORACLE_HOME/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:/$ORACLE_HOME/lib:${MWHOME}/lib:${SQLANY}/lib:/usr/lib:${SHLIB_PATH}
    else
    setenv SHLIB_PATH
    ${SIEBEL_ROOT}/lib:${SIEBEL_ROOT}/lib/odbc/merant:/$ORACLE_HOME/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:/$ORACLE_HOME/lib:${MWHOME}/lib:${SQLANY}/lib:/usr/lib
    else
    SHLIB_PATH=${SIEBEL_ROOT}/lib:${SIEBEL_ROOT}/lib/odbc/merant:/$ORACLE_HOME/lib:${MWHOME}/lib:${SQLANY}/lib:/usr/lib:${SHLIB_PATH}
    fi
    export SHLIB_PATH

NOTE:  The functionality described in this topic requires that you install Siebel CRM Release 8.2.2.3 or later. For information, see the applicable Siebel Maintenance Release Guide on My Oracle Support.

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