LDAP connector : corrected cast problems for inputs