]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9343 Fix the minimum number of ppolicy_rules arguments check
authorOndřej Kuzník <ondra@mistotebe.net>
Thu, 31 Jul 2025 14:07:09 +0000 (15:07 +0100)
committerQuanah Gibson-Mount <quanah@openldap.org>
Tue, 5 Aug 2025 15:35:34 +0000 (15:35 +0000)
servers/slapd/overlays/ppolicy.c

index 95c651c58f73aa81a330a8d0689156feb69b36d9..c5d017a3bb4cf89777bc8aa476a27c503dace1be 100644 (file)
@@ -607,7 +607,7 @@ static ConfigTable ppolicycfg[] = {
          "SINGLE-VALUE )", NULL, NULL },
 
        /* slapd.conf compatibility */
-       { "ppolicy_rules", "rule", 3, 0, 0,
+       { "ppolicy_rules", "rule", 2, 0, 0,
          ARG_MAGIC|PPOLICY_DEFAULT_RULES,
          ppolicy_cf_rule,
          NULL, NULL, NULL },