]> 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)
committerHoward Chu <hyc@openldap.org>
Wed, 14 Apr 2021 15:36:16 +0000 (16:36 +0100)
contrib/slapd-modules/autogroup/autogroup.c

index b3dbe4b708fda3f71a05ee4020ce955f443d100d..2031399c5fa9e81cb1222b73db66c3695e1506bf 100644 (file)
@@ -2072,7 +2072,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;