functions to create ldap user and generate aleatory pass