[server] Improve LDAP.

* Support multiple base DN.
* Support filter.