Adding a directory driver

StepsAdding a directory driver to libtcl.cfg

  1. Choose a value for provider, which can have any value.

    NoteTo make an entry the default directory driver, add it as the first entry in the DIRECTORY section.

  2. Determine the value of driver, which varies by platform:

    • For IBM RS/6000, Sun Solaris, Linux, and HP Itanium use libsybdldap.so.

    • For HP-UX use libsybdldap.sl.

  3. Verify the host and port number of the LDAP server.

  4. Determine the value of the DIT base, which is the location where LDAP begins its search for the server entry.

  5. Ensure that the DIT base path exists in the LDAP directory.

    The LDAP administrator may need to perform this task. See your LDAP documentation for more information.

  6. Go to the [DIRECTORY] section and add an entry using the following format:

    provider=driver ldap://host:port/ditbase
    

    The following is an example for an LDAP driver:

    ldap=libsybdldap.so ldap://test:389/dc=sybase,dc=com
    

    You can add two or more LDAP driver entries that use different DIT bases. Multiple driver entries are useful when you want to use the dscp or dsedit tools to view and modify entries that are in different locations in the LDAP directory. For example, you might add the entries below:

    [DIRECTORY]
    
    ldap=libsybdldap.so ldap://lserv:389/dc=production,dc=sybase,dc=com
    ldap1=libsybdldap.so ldap://lserv:389/dc=test,dc=sybase,dc=com
    ldap2=libsybdldap.so ldap://backup1:389/dc=sybase,dc=com