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: