A few fixes / enhancements. Ldap conf.