Commit abb01fa4 authored by Howard Chu's avatar Howard Chu
Browse files

cleanup

parent fc61aab1
......@@ -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
......
......@@ -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;
......
......@@ -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);
}
......
Supports Markdown
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