Cybersecurity
DevOps Cloud (ADM)
IT Operations Cloud
Encrypting a password for use with LDAP in Borland Search
Problem Description
I am setting up Borland Search to use LDAP authentication but it will not accept my password. I see an error message:
116558 [http8084-Processor23] ERROR com.borland.gantry.security.ldap.Authent
icator - Cannot load ldapserver-config.xml from ../webapps/cocoon/Gantry/compon
ents/config
Problem Resolution
Most likely the server HAS read the ldapserver-config.xml. One possible reason is that the bind password has been entered into this file incorrectly. The password needs to be encrypted. Use the following command to generate an encrypted form of your bind password:
L:\Program Files\Borland\Borland Search\webapps\cocoon\WEB-INF\lib>java -cp "Gan
try-Common.jar" com.borland.gantry.common.PwdCrypt braindeadAntelope
Encrypted: pljOnLikJTvF4i1LqXHghTepcqW41z7b
Decrypted: braindeadAntelope
Paste this encrypted password into your ldapserver-config.xml.