dan's ldap stuff