A first working version with objectification of ldap entries