bugfixes
add config to make ldap work