Adding a server to the directory services

WARNING! Most LDAP servers have an ldapadd utility for adding directory entries. Sybase recommends that you use dscp or dsedit instead, as they have built-in semantic checks that generic tools do not provide.

Using dsedit, you can add, delete, and modify servers in the directory service and interfaces files. However, before you can add, delete, or modify an LDAP server entry, you must add the LDAP URL to the libtcl*.cfg file. See “The libtcl.cfg and libtcl64.cfg files”.

StepsAdding a server to the directory service using dsedit

  1. From the $SYBASE/$SYBASE_OCS/bin directory, enter:

    dsedit
    
  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/config/objectid.dat.

    • HA server name – optional. This is the name of the High Availability Failover server, if you have one.

  5. Click Add New Network Transport.

    • Select the transport type from the drop-down list.

    • Enter the host name.

    • Enter the port number.

  6. Click OK two times to exit the dsedit utility.

To view the server entries, enter the following URL in a Netscape or Mozilla-based Web browser:

ldap://host:port/ditbase??one

For example:

ldap://huey:11389/dc=sybase,dc=com??one

NoteMicrosoft Internet Explorer does not recognize LDAP URLs.