Script to get an attribute value for a ldap user