summaryrefslogtreecommitdiffstats
path: root/install/ui/test/bin/update_ipa_init.sh
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-08-23 21:51:31 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-08-26 15:19:43 +0000
commit5c84e8f5facc7cc2126fa56cdc5a6be5c2a77c2c (patch)
tree581508d9e2d604a6e2906a16162b5637d2e1e30c /install/ui/test/bin/update_ipa_init.sh
parent5716177458d97a6069f787683e9aebebbc0aeb90 (diff)
downloadfreeipa-5c84e8f5facc7cc2126fa56cdc5a6be5c2a77c2c.tar.gz
freeipa-5c84e8f5facc7cc2126fa56cdc5a6be5c2a77c2c.tar.xz
freeipa-5c84e8f5facc7cc2126fa56cdc5a6be5c2a77c2c.zip
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
Diffstat (limited to 'install/ui/test/bin/update_ipa_init.sh')
-rwxr-xr-xinstall/ui/test/bin/update_ipa_init.sh11
1 files changed, 10 insertions, 1 deletions
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