fixed dependency on net/ldap