goto done;
}
- if ( !strcasecmp(c->argv[1], "true") ||
- !strcasecmp(c->argv[1], "yes") ) {
+ if ( !strcasecmp(value, "true") || !strcasecmp(value, "yes") ) {
pr->require_password = 1;
- } else if ( !strcasecmp(c->argv[1], "false") ||
- !strcasecmp(c->argv[1], "no") ) {
+ } else if ( !strcasecmp(value, "false") ||
+ !strcasecmp(value, "no") ) {
pr->require_password = 0;
} else {
snprintf( c->cr_msg, sizeof( c->cr_msg ),
group/groupOfNames/member.expand="cn=Test Group,ou=Groups,$2"
policy_dn.expand="cn=$1 policy,ou=Policies,dc=example,dc=com"
ppolicy_rules dn.baseObject="uid=ndadmin,ou=People,dc=example,dc=com" no_policy
-ppolicy_rules filter="(description=idle)"
+ppolicy_rules require_password=yes filter="(description=idle)"
policy_dn="cn=Idle Expiration Policy, ou=Policies, dc=example, dc=com"
ppolicy_default "cn=Standard Policy,ou=Policies,dc=example,dc=com"
ppolicy_use_lockout