]> git.sur5r.net Git - openldap/commitdiff
Create SLAPI object extensions in connection_fake_init()
authorLuke Howard <lukeh@openldap.org>
Sat, 24 Dec 2005 10:59:46 +0000 (10:59 +0000)
committerLuke Howard <lukeh@openldap.org>
Sat, 24 Dec 2005 10:59:46 +0000 (10:59 +0000)
servers/slapd/connection.c

index a83739966d68a597ca37aa11c35ca8bd77d73477..365509629f0b2d0fcb58421906921754c63a7816 100644 (file)
@@ -2238,6 +2238,11 @@ connection_fake_init(
        op->o_connid = op->o_conn->c_connid;
        connection_init_log_prefix( op );
 
+#ifdef LDAP_SLAPI
+       slapi_int_create_object_extensions( SLAPI_X_EXT_CONNECTION, conn );
+       slapi_int_create_object_extensions( SLAPI_X_EXT_OPERATION, op );
+#endif /* LDAP_SLAPI */
+
        slap_op_time( &op->o_time, &op->o_tincr );
 }