OpenConext-Attic / OpenConext-vm

:warning: Obsolete respository, archive only :zzz:
4 stars 9 forks source link

r74.4 setpasswds changes the default LDAP password incorrectly #25

Open relaxnow opened 10 years ago

relaxnow commented 10 years ago

r74.4 setpasswds changes the OC__LDAP_ENGINE_PASS to something random however LDAP is not provisioned with this new password but the old password:

[vagrant@localhost ~]$ cat /etc/openconext/oc_config.sh | grep LDAP_ENGINE
OC__LDAP_ENGINE_USER="cn=engine,dc=surfconext,dc=nl"
OC__LDAP_ENGINE_PASS="JsBQMXkp4OYR5YEtlD6Q"
[vagrant@localhost ~]$ ldapwhoami -x -D "cn=engine,dc=surfconext,dc=nl" -h localhost -w JsBQMXkp4OYR5YEtlD6Q
ldap_bind: Invalid credentials (49)
[vagrant@localhost ~]$ ldapwhoami -x -D "cn=engine,dc=surfconext,dc=nl" -h localhost -w jf7RH4Hj20De
dn:cn=engine,dc=surfconext,dc=nl