[TASK] LDAP Library refactoring