diff options
author | Adam Young <ayoung@redhat.com> | 2011-01-03 13:13:56 -0500 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-01-05 13:18:29 -0500 |
commit | e66e29be7d268efe9e5bc675e54a02330d639e96 (patch) | |
tree | bfb4d5b51950ffc056a0500e3281625bea4c1517 /install | |
parent | a7b926420fda10fba7eb372d5341e36168a848b3 (diff) | |
download | freeipa-e66e29be7d268efe9e5bc675e54a02330d639e96.tar.gz freeipa-e66e29be7d268efe9e5bc675e54a02330d639e96.tar.xz freeipa-e66e29be7d268efe9e5bc675e54a02330d639e96.zip |
fix krbtpolicy update
krbtpolicy requires null pkey, and without it, update breaks.
Diffstat (limited to 'install')
-rw-r--r-- | install/static/details.js | 8 | ||||
-rw-r--r-- | install/static/policy.js | 4 |
2 files changed, 8 insertions, 4 deletions
diff --git a/install/static/details.js b/install/static/details.js index 1e5106929..a39bc48cc 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 97e838f93..d8cfbec99 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'}) ]); |