Remove version from encoding

(previously removed from SASL choices, but should be always absent)
This commit is contained in:
Kurt Zeilenga 2011-01-03 19:21:03 +00:00
parent 342980d116
commit e6fd8bfbb0

View file

@ -134,8 +134,8 @@ ldap_verify_credentials(LDAP *ld,
if (mechanism == LDAP_SASL_SIMPLE) {
assert(!cookie);
rc = ber_printf(ber, "{istON}",
3, dn, LDAP_AUTH_SIMPLE, cred);
rc = ber_printf(ber, "{stON}",
dn, LDAP_AUTH_SIMPLE, cred);
} else {
if (!cred || BER_BVISNULL(cred)) {