Using directory services

To use directory services, add the following properties to the ConnectString:

DSURL= ldap://SYBLDAP:389/dc=sybase,dc=com??one?sybase
Servername=MANGO

The URL is an LDAP URL and uses LDAP libraries to resolve the URL.

To support high availability on the LDAP server, the DSURL accepts multiple URLs, each separated with a semicolon. For example:

DSURL={ldap://SYBLDAP:389/dc=sybase,dc=com??one?sybaseServername=MANGO;
ldap://SYBLDAP1:389/dc=sybase,dc=com??one?sybaseServername=MANGO}

The provider attempts to get the properties from the LDAP servers in the order specified.

An example of DSURL follows:

ldap://hostport/dn[?attrs[?scope[?filter[?userdn?userpass]]]]

where:

The URL can contain sybaseServername or you can set the property Server Name to the service name of the LDAP Sybase server object.

The following properties are useful when using Directory Services: