The ticket policy objects stored in eDirectory can be attached to Kerberos principals. Policy-related attributes can also be associated directly with the principals or realms but are not explained here.
You can use one of the following methods to add a Ticket policy:
Use the following command to add a ticket policy:
kdb5_ldap_util [-D user_dn [-w passwd]] [-H ldap_uri] [-t trusted_cert] create_policy [-maxtktlife max_ticket_life] [-maxrenewlife max_renewable_ticket_life] [ticket_flags] [-r realm] policy_name
For example:
kdb5_ldap_util -D cn=admin,o=org -H ldaps://ldap-server1.mit.edu create_policy -r ATHENA.MIT.EDU -maxtktlife "1 day" -maxrenewlife "1 week" -allow_postdated +needchange -allow_forwardable usertktpolicy
Refer to the following table for the description of the parameters:
Table 3-16 create_policy Parameters
In Novell iManager, click the .
Select
> .Refer to the iManager online help for more information.
You can use one of the following methods to modify a ticket policy:
Use the following command to modify a ticket policy:
kdb5_ldap_util [-D user_dn] [-w passwd]] [-H ldap_uri] [-t trusted_cert] modify_policy [-maxtktlife max_ticket_life] [-maxrenewlife max_renewable_ticket_life] [ticket_flags] [-r realm] policy_name
For more information on the parameters, refer to Table 3-16.
For example:
kdb5_ldap_util -D cn=admin,o=org -H ldaps://ldap-server1.mit.edu modify_policy -maxtktlife "1 day" -maxrenewlife "1 week" +allow_postdated -requires_preauth usertktpolicy
In Novell iManager, click the .
Select
> .Refer to the iManager online help for more information.
You can use one of the following methods to destroy a ticket policy:
Use the following command to destroy a ticket policy:
kdb5_ldap_util [-D user_dn [-w passwd]] [-H ldap_uri] [-t trusted_cert] destroy_policy [-force] [-r realm] policy_name
For example:
kdb5_ldap_util -D cn=admin,o=org -H ldaps://ldap-server1.mit.edu destroy_policy -r ATHENA.MIT.EDU usertktpolicy This will delete the policy object 'usertktpolicy', are you sure?(type 'yes' to confirm)? Yes* policy object 'usertktpolicy' deleted.
Table 3-17 destroy_policy Parameters
In Novell iManager, click the .
Select
> .Refer to the iManager online help for more information.
Use the following command to view a ticket policy:
kdb5_ldap_util [-D user_dn [-w passwd]] [-H ldap_uri] [-t trusted_cert] view_policy [-r realm] policy_name
For example:
kdb5_ldap_util -D cn=admin,o=org -H ldaps://ldap-server1.mit.edu view_policy -r ATHENA.MIT.EDU usertktpolicy
The expected output is:
Ticket Policy: usertktpolicy Maximum ticket life: 0 days 01:00:00 Maximum renewable life: 0 days 10:00:00 Ticket flags: DISALLOW_FORWARDABLE REQUIRES_PWCHANGE
Use the following command to list policies:
kdb5_ldap_util [-D user_dn [-w passwd]] [-H ldap_uri] [-t trusted_cert]
list_policy [-r realm]
For example:
kdb5_ldap_util -D cn=admin,o=org -H ldaps://ldap-server1.mit.edu list_policy
The expected output is as follows:
usertktpolicy tempusertktpolicy
krbtktpolicy