CHAPTER 6 Using the Lightweight Directory Access Protocol as a Directory Service

• A network-based alternative to the traditional Sybase interfaces file

• A single, hierarchical view of information, including users, software, resources, networks, files, and so on

Table 6-1 highlights the differences between the Sybase interfaces file and an

LDAP server.

 

 

 

 

Table 6-1: interfaces file versus LDAP directory services

 

interfaces file

 

 

 

 

Directory services

 

 

 

 

 

 

 

 

 

 

 

 

 

Platform-specific

 

 

 

 

Platform-independent

 

 

 

 

 

 

Specific to each Sybase installation

Centralized and hierarchical

 

 

 

 

 

 

Contains separate master and query entries

One entry for each server that is accessed by both clients and servers

 

 

 

 

 

 

Cannot store metadata about the server

Stores metadata about the server

 

 

 

 

LDAP directory services support more attributes than the Sybase interfaces

 

 

 

 

file. These attributes can include server version, server status, and so on. See

 

 

 

 

Table 6-2 for a list of attributes.

 

 

 

 

 

 

 

 

 

 

 

Note LDAP is only supported with reentrant libraries. You must use isql_r,

 

 

 

 

instead of isql, when connecting to a server using LDAP directory services.

 

 

 

 

 

 

 

 

 

 

 

Table 6-2 lists the Sybase LDAP directory entries.

 

 

 

 

Table 6-2: Sybase LDAP directory definitions

Attribute name

 

Value type

 

Description

 

 

 

 

 

 

 

ditbase

 

interfaces file

 

DIT base for object tree. If the libtcl.cfg file is specified, the

 

 

 

or libtcl.cfg

 

interfaces file is ignored. The libtcl.cfg file can be overridden with

 

 

 

 

 

 

ct_con_prop() for a specified connection.

 

 

 

 

 

dn

 

Character

 

Distinguished name. Must be unique name that identifies the object.

 

 

 

string

 

 

 

 

 

 

 

sybaseVersion

 

Integer

 

Server version number.

 

 

 

 

 

sybaseServername

 

Character

 

Server name.

 

 

 

string

 

 

 

 

 

 

 

sybaseService

 

Character

 

Service type: Sybase Adaptive Server, or Sybase SQL Server.

 

 

 

string

 

 

 

 

 

 

 

sybaseStatus

 

Integer

 

Status: 1 = Active, 2 = Stopped, 3 = Failed, 4 = Unknown.

 

 

 

 

 

 

 

Configuration Guide

71

Page 87
Image 87
Sybase DC35823-01-1500-04 manual For a list of attributes, Lists the Sybase Ldap directory entries