mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Update krbtpolicy doc to inform that restarting krb5kdc might be needed.
Fix #844
This commit is contained in:
committed by
Rob Crittenden
parent
46dbf0ae55
commit
c24725ed38
@@ -23,6 +23,16 @@ There is a single Kerberos ticket policy. This policy defines the
|
||||
maximum ticket lifetime and the maximum renewal age, the period during
|
||||
which the ticket is renewable.
|
||||
|
||||
You can also create a per-user ticket policy by specifying the user login.
|
||||
|
||||
For changes to the global policy to take effect, restarting the KDC service
|
||||
is required, which can be achieved using:
|
||||
|
||||
service krb5kdc restart
|
||||
|
||||
Changes to per-user policies take effect immediatly for newly requested
|
||||
tickets.
|
||||
|
||||
EXAMPLES:
|
||||
|
||||
Display the current Kerberos ticket policy:
|
||||
@@ -33,6 +43,15 @@ EXAMPLES:
|
||||
|
||||
Modify the policy to 8 hours max life, 1-day max renewal:
|
||||
ipa krbtpolicy-mod --maxlife=28800 --maxrenew=86400
|
||||
|
||||
Display effective Kerberos ticket policy for user 'admin':
|
||||
ipa krbtpolicy-show admin
|
||||
|
||||
Reset per-user policy for user 'admin':
|
||||
ipa krbtpolicy-reset admin
|
||||
|
||||
Modify per-user policy for user 'admin':
|
||||
ipa krbtpolicy-mod admin --maxlife=3600
|
||||
"""
|
||||
|
||||
from ipalib import api
|
||||
|
||||
Reference in New Issue
Block a user