From 5c84e8f5facc7cc2126fa56cdc5a6be5c2a77c2c Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Tue, 23 Aug 2011 21:51:31 -0500 Subject: Fixed host OTP status. The host details page has been modified to show the status of the OTP. Setting a new OTP is now done using a dialog box. Ticket #1710 --- install/ui/test/bin/update_ipa_init.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'install/ui/test/bin/update_ipa_init.sh') diff --git a/install/ui/test/bin/update_ipa_init.sh b/install/ui/test/bin/update_ipa_init.sh index 23852a269..2fc9c2170 100755 --- a/install/ui/test/bin/update_ipa_init.sh +++ b/install/ui/test/bin/update_ipa_init.sh @@ -17,4 +17,13 @@ fi -curl -v -H "Content-Type:application/json" -H "Accept:applicaton/json" --negotiate -u : --cacert /etc/ipa/ca.crt -d '{"method":"batch","params":[[{"method":"json_metadata","params":[[],{}]},{"method":"i18n_messages","params":[[],{}]},{"method":"user_find","params":[[],{"whoami":true,"all":true}]},{"method":"env","params":[[],{}]},{"method":"dns_is_enabled","params":[[],{}]},{"method":"hbacrule_find","params":[[],{"accessruletype":"deny"}]}],{}]}' -X POST https://`hostname`/ipa/json | sed 's/[ \t]*$//' > $INIT_FILE +curl -v\ + -H "Content-Type: application/json"\ + -H "Accept: applicaton/json"\ + --negotiate\ + --delegation always\ + -u :\ + --cacert /etc/ipa/ca.crt\ + -d '{"method":"batch","params":[[{"method":"json_metadata","params":[[],{}]},{"method":"i18n_messages","params":[[],{}]},{"method":"user_find","params":[[],{"whoami":true,"all":true}]},{"method":"env","params":[[],{}]},{"method":"dns_is_enabled","params":[[],{}]},{"method":"hbacrule_find","params":[[],{"accessruletype":"deny"}]}],{}]}'\ + -X POST\ + https://`hostname`/ipa/json | sed 's/[ \t]*$//' > $INIT_FILE -- cgit