freeipa/daemons/ipa-slapi-plugins/ipa-graceperiod
Rob Crittenden 4105fee2cf Disabling gracelimit does not prevent LDAP binds
Originally the code treated 0 as disabled. This was
changed during the review process to -1 but one remnant
was missed effetively allowing gracelimit 0 to also mean
disabled.

Add explicit tests for testing with gracelimit = 0 and
gracelimit = -1.

Also remove some extranous "str(self.master.domain.basedn)"
lines from some of the tests.

Fixes: https://pagure.io/freeipa/issue/9206

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Francisco Trivino <ftrivino@redhat.com>
2022-08-01 09:24:40 -04:00
..
graceperiod-conf.ldif Implement LDAP bind grace period 389-ds plugin 2022-05-30 17:24:22 +03:00
ipa_graceperiod.c Disabling gracelimit does not prevent LDAP binds 2022-08-01 09:24:40 -04:00
Makefile.am Implement LDAP bind grace period 389-ds plugin 2022-05-30 17:24:22 +03:00