Ready to copy ldap code