The ldap_set_option documentation states that a pointer to a ber_len_t should be used when setting LDAP_OPT_X_SASL_SSF_MIN. We're incorrectly using int.
Created attachment 85357 [details] [review]
Pass correct pointer type to ldap_set_option when setting SSF_MIN
Failure on some archs where sizeof(int) != sizeof(ber_len_t)
Attachment 85357 [details] pushed as 167b4e9 - Pass correct pointer type to ldap_set_option when setting SSF_MIN