From: Ondřej Kuzník Date: Thu, 31 Jul 2025 14:07:09 +0000 (+0100) Subject: ITS#9343 Fix the minimum number of ppolicy_rules arguments check X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cadbcc629cc4c067169af5febd8bf5157dbe0865;p=thirdparty%2Fopenldap.git ITS#9343 Fix the minimum number of ppolicy_rules arguments check --- diff --git a/servers/slapd/overlays/ppolicy.c b/servers/slapd/overlays/ppolicy.c index 95c651c58f..c5d017a3bb 100644 --- a/servers/slapd/overlays/ppolicy.c +++ b/servers/slapd/overlays/ppolicy.c @@ -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 },