script to generate a user list from LDAP (with photos) like