You can set up a secure connection to an LDAP directory server using SSL or TLS on all supported platforms. To establish a secure connection between a client and an LDAP Directory Server, use either of the following methods:
Establish a secure connection to the secure port of the LDAP server (typically port number 636) by entering the following syntax in the libtcl.cfg file:
[NT_DIRECTORY] ldap=libsybdldap.dll ldaps:// huey:636/dc=sybase,dc=com???? bindname=cn=Manager,dc=Sybase,dc=com?secret
If no port number is specified with ldaps://, port number 636 is used by default.
Upgrade a normal connection (typically port number 389 of the LDAP Server) to a secure one, using StartTLS. To upgrade the connection, enter this syntax in the libtcl.cfg file:
[NT_DIRECTORY] ldap=libsybdldap.dll starttls ldap:// huey:389/dc=sybase,dc=com???? bindname=cn=Manager,dc=Sybase,dc=com?secret
If no port number is specified with ldap://, port number 389 is used by default.
For more information, see the Open Client Client-Library/C Reference Manual.