Encrypt LDAP password in database
LDAP passwords are kept in plaintext in the database. We could follow the same strategy as we do with ComputeResource passwords and encrypt them, and deencrypt them only when we need to send them.
Fixes #10263 - Encrypt LDAP password in db
This commit includes a rake task to encrypt all encryptable resources.
A helper function can be used to add more encryption tasks easily.