add: LDAP thumbnail retrieval function
fix: added default port to ldap connect to avoid ldap_search errors