Adding a server to the directory services – Sybase DC35823-01-1500-04 User Manual

Page 92

Advertising
background image

Adding a server to the directory services

76

Adaptive Server Enterprise

Adding a server to the directory services

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 6-2 for accepted
values.

You can use

srvbuild

to add entries, but not modify or delete them.

v

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” on page 73.

Use

dsedit

to add a server to the directory service:

1

Source SYBASE.csh or SYBASE.sh to set the environment variables.

2

cd

to $SYBASE/$SYBASE_OCS/bin.

3

Execute

dsedit

.

4

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

5

Click Add New Server Entry.

6

Enter:

The server name – this is required.

The security mechanism – optional. This is the name of the high-
availability failover server, if you have one.

7

Click Add New Network Transport and:

Select the transport type from the drop-down list.

Enter the host name.

Enter the port number

8

Click OK two times to edit

dsedit

.

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

http://host:port/ditbase??one.

Advertising