refactor config module
remove ldap server control