added new configs, improved ldap module