added a first version of the script that retrieves the user from the LDAP server