]> git.sur5r.net Git - openldap/commitdiff
ITS#4337: renaming not implemented yet(need a better fix)
authorPierangelo Masarati <ando@openldap.org>
Mon, 16 Jan 2006 22:58:36 +0000 (22:58 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 16 Jan 2006 22:58:36 +0000 (22:58 +0000)
servers/slapd/bconfig.c

index c2974c3fbda52ee1f16c6800cc779ba0a82c0cbe..97ca21c7195869958bafd2c2c0ea8559c5cd2464 100644 (file)
@@ -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 );