ITS#8092 fix previous fix.

slap_auxprop_lookup() returns void with old sasl versions.
This commit is contained in:
Hallvard Furuseth 2015-05-04 21:05:57 +02:00
parent f2b96c19cc
commit a59f336a61

View file

@ -347,8 +347,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++ ) {
@ -503,6 +505,7 @@ retry_dontUseCopy:;
}
}
}
done:;
#if SASL_VERSION_FULL >= 0x020118
return rc != LDAP_SUCCESS ? SASL_FAIL : SASL_OK;
#endif