Creates and prints an encrypted LDAP password in the libtcl.cfg file. pwdcrypt is located in $SYBASE/OCS-12_5/bin (%SYBASE%\OCS-12_5\bin in Windows NT).
pwdcrypt
Typing pwdcrypt at the prompt returns a request to enter your password twice, after which pwdcrypt returns the LDAP password:
pwdcrypt
Enter password please: password
Enter password again : password
The encrypted password: 0x01312a775ab9d5c71f99f05f7712d2cded288d0ae1ce79268d0e8669313d1bc4c706
Replace the last part of the LDAP URL in libtcl.cfg with this encrypted password:
ldap=libdldap.so
ldap://dolly:389/dc=sybase,dc=com????bindname=cn=Manager,dc=sybase,dc=com?0x01312a775ab9d5c71f99f05f7712d2cded288d0ae1ce79268d0e8669313d1bc4c706
An unencrypted password looks like this:
ldap=libdldap.so
ldap://dolly:389/dc=sybase,dc=com????bindname=cn=Manager,dc=sybase,dc=com?secret
You must set the SYBASE environment variable to the location of the current version of Adaptive Server before you can use pwdcrypt.
You must use file system permissions to prevent unauthorized access to this encrypted password in your libtcl.cfg file.