add configuration parsing to ldap module