[server] Add LDAP support.