]> git.sur5r.net Git - openldap/commitdiff
remove overoptimistic assertion
authorPierangelo Masarati <ando@openldap.org>
Wed, 26 Jan 2005 10:27:38 +0000 (10:27 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 26 Jan 2005 10:27:38 +0000 (10:27 +0000)
servers/slapd/back-ldap/chain.c

index 6322cf375066a59ace30eb3efd8c817c094d079c..a772b5209c70e5884989b60997bfc94d2b7cdce8 100644 (file)
@@ -314,7 +314,13 @@ ldap_chain_response( Operation *op, SlapReply *rs )
                        char            textbuf[ SLAP_TEXT_BUFLEN ];
                        size_t          textlen = sizeof( textbuf );
 
+#if 0
+                       /* FIXME: op->o_bd is still set to the BackendDB 
+                        * structure of the database that tried to handle
+                        * the operation and actually returned a referral
+                        * ... */
                        assert( SLAP_DBFLAGS( op->o_bd ) & SLAP_DBFLAG_GLOBAL_OVERLAY );
+#endif
 
                        /* global overlay: create entry */
                        /* NOTE: this is a hack to use the chain overlay