From e66e29be7d268efe9e5bc675e54a02330d639e96 Mon Sep 17 00:00:00 2001 From: Adam Young Date: Mon, 3 Jan 2011 13:13:56 -0500 Subject: fix krbtpolicy update krbtpolicy requires null pkey, and without it, update breaks. --- install/static/details.js | 8 ++++++-- install/static/policy.js | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'install') diff --git a/install/static/details.js b/install/static/details.js index 1e510692..a39bc48c 100644 --- a/install/static/details.js +++ b/install/static/details.js @@ -638,8 +638,12 @@ function ipa_details_update(on_win, on_fail) on_fail(xhr, text_status, error_thrown); } - if (!pkey) - return; + /* + The check + if (!pkey) { return; } + used to happen here, but it breaks krbtpolicy, which allows a null pkey + and usually requires it. + */ var values; var modlist = {'all': true, 'setattr': [], 'addattr': [], 'rights': true}; diff --git a/install/static/policy.js b/install/static/policy.js index 97e838f9..d8cfbec9 100644 --- a/install/static/policy.js +++ b/install/static/policy.js @@ -588,8 +588,8 @@ IPA.add_entity(function (){ */ ipa_entity_set_details_definition('krbtpolicy', [ - ipa_stanza({name:'identity', label:'Krbtpolicy Location Details'}). - input({name:'cn'}). + ipa_stanza({name:'identity', label:'Kerberos ticket policy'}). + input({name:'uid'}). input({name:'krbmaxrenewableage'}). input({name:'krbmaxticketlife'}) ]); -- cgit