result->rc = info.added;
} else if ( rc == LDAP_REFERRAL ||
rc == LDAP_NO_SUCH_OBJECT ) {
- slap_entry2mods( e, &modlist, &text );
- syncrepl_add_glue( NULL, NULL, &op_tmp, e, modlist, 0, NULL, NULL );
+ syncrepl_add_glue( &op_tmp, e );
result->rc = info.added;
} else {
result->rc = 0;
LDAP_SLAPD_F (void) syncrepl_updateCookie LDAP_P((
syncinfo_t *, LDAP *, Operation *, struct berval *,
struct berval * ));
-LDAP_SLAPD_F (void) syncrepl_add_glue LDAP_P(( syncinfo_t *, LDAP *,
- Operation*, Entry*, Modifications*, int,
- struct berval*, struct berval* ));
+LDAP_SLAPD_F (void) syncrepl_add_glue LDAP_P((
+ Operation*, Entry* ));
LDAP_SLAPD_F (Entry*) slap_create_syncrepl_entry LDAP_P((
Backend *, struct berval *,
struct berval *, struct berval * ));
ret = 1;
goto done;
} else if ( rc == LDAP_REFERRAL || rc == LDAP_NO_SUCH_OBJECT ) {
- syncrepl_add_glue( si, ld, op, e,
- modlist, syncstate,
- syncUUID, syncCookie);
+ syncrepl_add_glue( op, e );
si->si_e = NULL;
ret = 0;
goto done;
void
syncrepl_add_glue(
- syncinfo_t *si,
- LDAP *ld,
Operation* op,
- Entry *e,
- Modifications* modlist,
- int syncstate,
- struct berval* syncUUID,
- struct berval* syncCookie
+ Entry *e
)
{
Backend *be = op->o_bd;
op->o_tag = LDAP_REQ_ADD;
op->o_callback = &cb;
cb.sc_response = null_callback;
- cb.sc_private = si;
+ cb.sc_private = NULL;
dn = e->e_name;
ndn = e->e_nname;