Set sr_type=REP_SEARCH before be_operational

This commit is contained in:
Hallvard Furuseth 2011-01-04 15:12:45 +00:00
parent a8c8ec5d4c
commit eae5e37ebd
3 changed files with 4 additions and 4 deletions

View File

@ -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 )

View File

@ -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;

View File

@ -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