This commit is contained in:
Howard Chu 2006-04-04 10:47:42 +00:00
parent fc61aab12b
commit abb01fa437
3 changed files with 4 additions and 3 deletions

View File

@ -58,7 +58,7 @@ static int auditlog_response(Operation *op, SlapReply *rs) {
if ( rs->sr_err != LDAP_SUCCESS ) return SLAP_CB_CONTINUE;
if ( !op->o_bd || !ad->ad_logfile ) return SLAP_CB_CONTINUE;
if ( !ad->ad_logfile ) return SLAP_CB_CONTINUE;
/*
** add or modify: use modifiersName if present

View File

@ -565,13 +565,13 @@ query_containment(Operation *op, query_manager *qm,
fi=fi->f_next;
break;
case LDAP_FILTER_GE:
if (ret >= 0)
if (mrule && ret >= 0)
res = 1;
fs=fs->f_next;
fi=fi->f_next;
break;
case LDAP_FILTER_LE:
if (ret <= 0)
if (mrule && ret <= 0)
res = 1;
fs=fs->f_next;
fi=fi->f_next;

View File

@ -690,6 +690,7 @@ static int translucent_db_init(BackendDB *be) {
ov->info = backend_info("ldap");
if(!ov->info) {
ch_free( ov );
Debug(LDAP_DEBUG_ANY, "translucent: backend_info failed!\n", 0, 0, 0);
return(1);
}