Specifying the server name with Open Client directory services

When you are using Open Client directory services in a DataWindow Designer application, you must use the syntax required by your directory service provider when specifying the server name in a database profile to access the database.

Different directory service providers require different syntax based on the format they use for specifying directory entry names. Directory entry names can be fully qualified or relative to the default (active) Directory Information Tree base (DIT base) specified in the Open Client/Server™ configuration utility.

The DIT base is the starting node for directory searches. Specifying a DIT base is analogous to setting a current working directory for UNIX or MS-DOS file systems. (You can specify a nondefault DIT base with the DS_DitBase DbParameter parameter. For information, see DS_DitBase in the online Help.)

Windows registry server name example

This example shows typical server name syntax if your directory service provider is the Windows registry.

Node name: SALES:software\sybase\server\SYS12
DIT base: SALES:software\sybase\server
Server name: SYS12

StepsTo specify the server name in a database profile:

  1. Type the following in the Server box on the Connection tab in the Database Profile Setup dialog box. Do not start the server name with a backslash (\).

    SYS12
    

DCE/DCS server name example

This example shows typical server name syntax if your directory service provider is Distributed Computing Environment Cell Directory Services (DCE/CDS).

Node name: /.../boston.sales/dataservers/sybase/SYS12
DIT base: /../boston.sales/dataservers
Server name: sybase/SYS12

StepsTo specify the server name in a database profile:

  1. Type the following in the Server box on the Connection tab in the Database Profile Setup dialog box. Do not start the server name with a slash (/).

    sybase/SYS12
    

Banyan STDA server name example

This example shows typical server name syntax if your directory service provider is Banyan StreetTalk Directory Assistance (STDA).

Node name: SYS12@sales@chicago
DIT base: chicago
Server name: SYS12@sales

StepsTo specify the server name in a database profile:

  1. Type the following in the Server box on the Connection tab in the Database Profile Setup dialog box. Do not end the server name with @.

    SYS12@sales
    

Novell NDS server name example

This example shows typical server name syntax if your directory service provider is Novell NetWare Directory Services (NDS).

Node name: CN=SYS12.OU=miami.OU=sales.O=sybase
DIT base: OU=miami.OU=sales.O=sybase
Server name: SYS12

StepsTo specify the server name in a database profile:

  1. Type the following in the Server box on the Connection tab in the Database Profile Setup dialog box. Do not start the server name with CN=.

    SYS12