From: Pierangelo Masarati Date: Mon, 16 Jan 2006 22:58:36 +0000 (+0000) Subject: ITS#4337: renaming not implemented yet(need a better fix) X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~298 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fa4e093f0c2606e214252a050a9c3c40664c5979;p=openldap ITS#4337: renaming not implemented yet(need a better fix) --- diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index c2974c3fbd..97ca21c719 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -3771,6 +3771,8 @@ config_back_add( Operation *op, SlapReply *rs ) op->o_ndn = ndn; } if ( renumber ) { + rs->sr_err = LDAP_UNWILLING_TO_PERFORM; + rs->sr_text = "renaming not implemented yet within naming context"; } ldap_pvt_thread_pool_resume( &connection_pool ); @@ -4153,6 +4155,9 @@ config_back_modrdn( Operation *op, SlapReply *rs ) } ldap_pvt_thread_pool_pause( &connection_pool ); + rs->sr_err = LDAP_UNWILLING_TO_PERFORM; + rs->sr_text = "renaming not implemented yet within naming context"; + ldap_pvt_thread_pool_resume( &connection_pool ); out: send_ldap_result( op, rs );