added ldap (second try)