added ldap (third try)