Encrypted admin password fails
Description
If we encrypt the admin password FD crashes with a LDAP connect error. The error message says blank user password are forbidden. Reversing the configuration to clear text works.
Distribution Name and Version
RHEL 7.6
FusionDirectory Version
1.2.3-1
PHP version used
PHP7
Origin of php packages
RHEL PHP5 packages installed as dependencies for fusiondirectory RHEL RHSCL PHP7 for php packages RHSCL php-fpm for PHP server
Steps to Reproduce
- Add admin DN and password to fusiondirectory.conf
- Encrypt with fusiondirectory-setup --encrypt-passwords
- Add the headers stanza to virtualhost config and reload apache
- Launch webui
Expected behavior:
FD connects to LDAP...
Actual behavior:
LDAP Error : blank password used Note : Just downgrading FD with the same PHP/Apache setup corrects the error. It is somewhere in the code
Reproduces how often:
100%