]> 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>
Mon, 10 Jan 2022 20:27:35 +0000 (20:27 +0000)
contrib/slapd-modules/autogroup/autogroup.c

index 3a90c937a5b6113736e3b3a4a2c6f57186e6125e..c2ee4e7ed28a02ead4189ce1cdae6777a20b8a91 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 ;