]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9766 slapo-autogroup: Fix ordering check
authorOndřej Kuzník <ondra@mistotebe.net>
Thu, 9 Dec 2021 11:27:48 +0000 (11:27 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 12 Jan 2022 21:59:22 +0000 (21:59 +0000)
contrib/slapd-modules/autogroup/autogroup.c

index b79199f660512216d43e7773c4237da7593788fe..926703f881467dea70de20e4d75a2fe71d253948 100644 (file)
@@ -1970,7 +1970,7 @@ ag_cfgen( ConfigArgs *c )
                        }
                }
 
-               if ( c->valx > 0 ) {
+               if ( c->valx >= 0 ) {
                        int     i;
 
                        for ( i = 0, agdp = &agi->agi_def ;