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.

Each server entry is made up of a set of attributes. When you add or modify a server entry, dscp prompts you for information about server attributes. Some attributes are provided by default, others require user input. When you create a directory service with dscp, default values appear in brackets “[ ]”. See Table 5-2 for a list of accepted values.

NoteWhen using dscp with LDAP, you can not allow any spaces after the LDAP entry in the libtcl.cfg directory.

dsedit is a graphical utility that allows you to add, delete and modify servers in the libtcl*.cfg and interfaces (sql.ini on Windows NT) files. 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

Use dsedit to add server to the directory service:

  1. From the Windows task bar, select Start | Programs | Sybase | dsedit.

  2. Select LDAP from the list of servers, and click OK.

  3. Click Add New Server Entry.

  4. Enter:

  5. Click Add New Network Transport.

  6. Click OK twice to exit the dsedit utility.

To view the server entries, enter the following URL in Netscape:

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

For example:

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

NoteMicrosoft Internet Explorer does not recognize LDAP URLs.