Using a Directory Service

For more information, see the configuration guide for your platform.

  1. Configure the libtcl.cfg file to use directory services—use any standard ASCII text editor to:
    • Remove the semicolon (;) comment markers from the beginning of the LDAP URL lines in the libtcl.cfg file under the [DIRECTORY] entry.
    • Add the LDAP URL under the [DIRECTORY] entry. See the Configuration Guide for supported LDAP URL values.
    Warning!  Enter the LDAP URL on a single line.
    ldap=libsybdldap.dll
    ldap://host:port/ditbase??scope??
    bindname=username?password
    For example:
    [DIRECTORY] 
    ldap=libsybdldap.dll
    ldap://huey:11389/dc=sybase,dc=com??one??
    bindname=cn=Manager,dc=sybase,dc=com?secret
  2. Verify that the appropriate environment variable points to the required third-party libraries. The Netscape LDAP SDK libraries are located in %SYBASE%\%SYBASE_OCS%\dll The Windows PATH environment variable must include this directory.
  3. Use dsedit to add a server to the directory service:
    1. From Windows, select Start | Programs | Sybase | Connectivity | Open Client Directory Service Editor.
    2. Select LDAP from the list of servers, and click OK.
    3. Click Add New Server Entry.
    4. Enter:
      • The server name – this is required.
      • Security mechanism – optional. A list of security mechanism OIDs are located in %SYBASE%\ini\objectid.dat.
    5. Click Add New Network Transport.
      1. Select the transport type
      2. Enter the host name
      3. Enter the port number
    6. Click OK twice to exit the dsedit utility.


Created June 23, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com