WARNING! Most LDAP servers have an ldapadd utility for adding directory entries. Sybase recommends you use dsedit instead since it has 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, you are prompted for information about server attributes. Some attributes are provided by default, others require user input. When a default value is provided, it appears in brackets “[ ]”. See Table 5-2 for accepted values.
You can use srvbuild to add entries, but not modify or delete them.
Adding a server entry to the directory service
using dsedit
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 file”.
Use dsedit to add a server to the directory service:
From the Windows task bar, select Start | Programs | Sybase | Connectivity | Open Client Directory Service Editor.
Select LDAP from the list of servers, and click OK.
Click Add New Server Entry.
Enter:
The server name – this is required.
Security mechanism – optional. A list of security mechanism OIDs are located in %SYBASE%\ini\objectid.dat.
HA server name – optional. This is the name of the high-availability failover server, if you have one.
Click Add New Network Transport.
Select the transport type from the drop-down list.
Enter the host name.
Enter the port number.
Click OK two times 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
Microsoft Internet Explorer does not recognize LDAP
URLs.
For more information about dscp, see the Open Client/Server Configuration Guide, in the 11.1.x Generic Collection.