git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13883 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2004-05-27 10:58:54 +00:00
parent cc1d5be89e
commit 0dd55a0e22

View File

@@ -1421,7 +1421,8 @@ static krb5_error_code LDAP__connect(krb5_context context, HDB * db)
return HDB_ERR_NOENTRY;
}
rc = ldap_set_option(HDB2LDAP(db), LDAP_OPT_PROTOCOL_VERSION, (const void *)&version);
rc = ldap_set_option(HDB2LDAP(db), LDAP_OPT_PROTOCOL_VERSION,
(const void *)&version);
if (rc != LDAP_SUCCESS) {
krb5_set_error_string(context, "ldap_set_option: %s",
ldap_err2string(rc));