From ab8a0b7c7782dc07552e99f9bf9d66f4a619441b Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 5 Feb 2011 00:33:45 +0000 Subject: [PATCH] DSA-specific opattrs don't replicate --- contrib/slapd-modules/lastbind/lastbind.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/slapd-modules/lastbind/lastbind.c b/contrib/slapd-modules/lastbind/lastbind.c index 393c031e99..cd3956bc3a 100644 --- a/contrib/slapd-modules/lastbind/lastbind.c +++ b/contrib/slapd-modules/lastbind/lastbind.c @@ -174,13 +174,13 @@ done: SlapReply r2 = { REP_RESULT }; slap_callback cb = { NULL, slap_null_cb, NULL, NULL }; - /* FIXME: Need to handle replication of the operational attribute... - * See password policy overlay */ + /* This is a DSA-specific opattr, it never gets replicated. */ op2.o_tag = LDAP_REQ_MODIFY; op2.o_callback = &cb; op2.orm_modlist = mod; op2.o_dn = op->o_bd->be_rootdn; op2.o_ndn = op->o_bd->be_rootndn; + op2.o_dont_replicate = 1; rc = op->o_bd->be_modify( &op2, &r2 ); slap_mods_free( mod, 1 ); } -- 2.39.5