mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
cleanup
This commit is contained in:
parent
fc61aab12b
commit
abb01fa437
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user