Commit bd9bba82 authored by Hallvard Furuseth's avatar Hallvard Furuseth Committed by Quanah Gibson-Mount
Browse files

ITS#8092 fix previous fix.

slap_auxprop_lookup() returns void with old sasl versions.
parent fd8c9a94
......@@ -322,8 +322,10 @@ slap_auxprop_lookup(
}
/* we don't know anything about this, ignore it */
if ( !conn )
return SASL_OK;
if ( !conn ) {
rc == LDAP_SUCCESS;
goto done;
}
/* Now see what else needs to be fetched */
for( i = 0; sl.list[i].name; i++ ) {
......@@ -422,6 +424,7 @@ slap_auxprop_lookup(
}
}
}
done:;
#if SASL_VERSION_FULL >= 0x020118
return rc != LDAP_SUCCESS ? SASL_FAIL : SASL_OK;
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment