mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 07:33:27 -06:00
f347c3f230
Add support for bind grace limiting per https://datatracker.ietf.org/doc/html/draft-behera-ldap-password-policy-06 389-ds provides for alternative naming than the draft, using those instead: passwordGraceUserTime for pwdGraceUserTime and passwordGraceLimit for pwdGraceLoginLimit. passwordGraceLimit is a policy variable that an administrator sets to determine the maximum number of LDAP binds allowed when a password is marked as expired. This is suported for both the global and per-group password policies. passwordGraceUserTime is a count per-user of the number of binds. When the passwordGraceUserTime exceeds the passwordGraceLimit then all subsequent binds will be denied and an administrator will need to reset the user password. If passwordGraceLimit is less than 0 then grace limiting is disabled and unlimited binds are allowed. Grace login limitations only apply to entries with the objectclass posixAccount or simplesecurityobject in order to limit this to IPA users and system accounts. Some basic support for the LDAP ppolicy control is enabled such that if the ppolicy control is in the bind request then the number of remaining grace binds will be returned with the request. The passwordGraceUserTime attribute is reset to 0 upon a password reset. user-status has been extended to display the number of grace binds which is stored centrally and not per-server. Note that passwordGraceUserTime is an operational attribute. https://pagure.io/freeipa/issue/1539 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com> |
||
---|---|---|
.. | ||
__init__.py | ||
base.py | ||
test_acme.py | ||
test_adtrust_install.py | ||
test_advise.py | ||
test_authselect.py | ||
test_automember.py | ||
test_backup_and_restore.py | ||
test_ca_custom_sdn.py | ||
test_caless.py | ||
test_cert.py | ||
test_cli_ipa_not_configured.py | ||
test_commands.py | ||
test_crlgen_manage.py | ||
test_custom_plugins.py | ||
test_customized_ds_config_install.py | ||
test_dns_locations.py | ||
test_dns.py | ||
test_dnssec.py | ||
test_epn.py | ||
test_external_ca.py | ||
test_fips.py | ||
test_forced_client_reenrollment.py | ||
test_http_kdc_proxy.py | ||
test_idp.py | ||
test_idviews.py | ||
test_installation_client.py | ||
test_installation.py | ||
test_ipa_cert_fix.py | ||
test_ipahealthcheck.py | ||
test_kerberos_flags.py | ||
test_krbtpolicy.py | ||
test_legacy_clients.py | ||
test_membermanager.py | ||
test_netgroup.py | ||
test_nfs.py | ||
test_ntp_options.py | ||
test_otp.py | ||
test_pki_config_override.py | ||
test_pkinit_manage.py | ||
test_pwpolicy.py | ||
test_replica_promotion.py | ||
test_replication_layouts.py | ||
test_resolvers_manager.py | ||
test_server_del.py | ||
test_service_permissions.py | ||
test_simple_replication.py | ||
test_smb.py | ||
test_sssd.py | ||
test_subids.py | ||
test_sudo.py | ||
test_testconfig.py | ||
test_topologies.py | ||
test_topology.py | ||
test_trust.py | ||
test_uninstallation.py | ||
test_upgrade.py | ||
test_user_permissions.py | ||
test_vault.py | ||
test_winsyncmigrate.py |