]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9494 autogroup: fix db_open trashing thread context
authorHoward Chu <hyc@openldap.org>
Wed, 14 Apr 2021 15:35:12 +0000 (16:35 +0100)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 14 Apr 2021 15:46:01 +0000 (15:46 +0000)
contrib/slapd-modules/autogroup/autogroup.c

index 8caf082cdfede554b8ce025e7009e76240e6874a..b44752d6b5c25137bd86f26e1296102fb955155b 100644 (file)
@@ -2071,7 +2071,7 @@ autogroup_db_open(
                return 0;
        }
 
-       connection_fake_init( &conn, &opbuf, thrctx );
+       connection_fake_init2( &conn, &opbuf, thrctx, 0 );
        op = &opbuf.ob_op;
 
        op->ors_attrsonly = 0;