]> 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, 5 Jan 2022 17:36:13 +0000 (17:36 +0000)
contrib/slapd-modules/autogroup/autogroup.c

index 047f01bd83b38e706549d60c1d34054f3c2715eb..d39225833628e5da4fc48ddd6e914a3da848b471 100644 (file)
@@ -1946,7 +1946,7 @@ ag_cfgen( ConfigArgs *c )
                        }
                }
 
-               if ( c->valx > 0 ) {
+               if ( c->valx >= 0 ) {
                        int     i;
 
                        for ( i = 0, agdp = &agi->agi_def ;