I need to encrypt the bindpw on the ldap.conf. Currently the password for the CN is clear text.
I am running this on Red Hat Enterprise Linux ES release 4 (Nahant Update 8) 64 bit.
Any suggestion/feedback appreciated.
I don't think this is possible.
The LDAP client tools require to know what the password is in order to bind. You would need to use some form of reversible encryption, like AES, and AFAIK the LDAP tools can't do that.
If you're a good programmer (or know one) you could modify the client tools source code to include AES encryption.
To prevent it from being read by other users? The bindpw file is supposed to be only readable by root. Normal users use their own credentials to bind to LDAP.
To prevent it from being stored on disk? Move