mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-01 14:15:49 +08:00
Set sr_type=REP_SEARCH before be_operational
This commit is contained in:
parent
a8c8ec5d4c
commit
eae5e37ebd
@ -98,7 +98,7 @@ backsql_compare( Operation *op, SlapReply *rs )
|
||||
}
|
||||
|
||||
if ( is_at_operational( op->oq_compare.rs_ava->aa_desc->ad_type ) ) {
|
||||
SlapReply nrs = { 0 };
|
||||
SlapReply nrs = { REP_SEARCH };
|
||||
Attribute **ap;
|
||||
|
||||
for ( ap = &e.e_attrs; *ap; ap = &(*ap)->a_next )
|
||||
|
@ -1676,7 +1676,7 @@ fe_acl_attribute(
|
||||
|
||||
a = attr_find( e->e_attrs, entry_at );
|
||||
if ( a == NULL ) {
|
||||
SlapReply rs = { 0 };
|
||||
SlapReply rs = { REP_SEARCH };
|
||||
AttributeName anlist[ 2 ];
|
||||
|
||||
anlist[ 0 ].an_name = entry_at->ad_cname;
|
||||
@ -1840,7 +1840,7 @@ backend_access(
|
||||
} else {
|
||||
a = attr_find( e->e_attrs, entry_at );
|
||||
if ( a == NULL ) {
|
||||
SlapReply rs = { 0 };
|
||||
SlapReply rs = { REP_SEARCH };
|
||||
AttributeName anlist[ 2 ];
|
||||
|
||||
anlist[ 0 ].an_name = entry_at->ad_cname;
|
||||
|
@ -466,7 +466,7 @@ check_syncprov(
|
||||
AttributeName at[2];
|
||||
Attribute a = {0};
|
||||
Entry e = {0};
|
||||
SlapReply rs = {0};
|
||||
SlapReply rs = {REP_SEARCH};
|
||||
int i, j, changed = 0;
|
||||
|
||||
/* Look for contextCSN from syncprov overlay. If
|
||||
|
Loading…
Reference in New Issue
Block a user