[bugfix #4165] use config directly instead of parsing URI
Merge branch '4165_ldap_hash'