diff options
| author | Endi S. Dewata <edewata@redhat.com> | 2011-10-24 18:18:10 -0500 |
|---|---|---|
| committer | Endi S. Dewata <edewata@redhat.com> | 2011-10-26 12:53:28 +0000 |
| commit | f168afbeb6e88e6ba66d7472529c35ed78dc6bc0 (patch) | |
| tree | ebadbb98c5c688c9c7bb00f81598868fb7678057 /install/ui/test/bin | |
| parent | 0450934e366c37d01fe84a2c23ed196bf8dd6f89 (diff) | |
| download | freeipa-f168afbeb6e88e6ba66d7472529c35ed78dc6bc0.tar.gz freeipa-f168afbeb6e88e6ba66d7472529c35ed78dc6bc0.tar.xz freeipa-f168afbeb6e88e6ba66d7472529c35ed78dc6bc0.zip | |
Removed HBAC deny rule warning.
The HBAC deny rule is no longer supported so it's no longer necessary
to show the warning.
Ticket #1444
Diffstat (limited to 'install/ui/test/bin')
| -rwxr-xr-x | install/ui/test/bin/update_ipa_init.sh | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/install/ui/test/bin/update_ipa_init.sh b/install/ui/test/bin/update_ipa_init.sh index 2fc9c2170..26cbc9679 100755 --- a/install/ui/test/bin/update_ipa_init.sh +++ b/install/ui/test/bin/update_ipa_init.sh @@ -15,7 +15,30 @@ then exit 1 fi - +json="{ + \"method\": \"batch\", + \"params\": [ + [ + { + \"method\": \"i18n_messages\", + \"params\": [[], {}] + }, + { + \"method\": \"user_find\", + \"params\":[[], { \"whoami\": true, \"all\": true }] + }, + { + \"method\": \"env\", + \"params\": [[], {}] + }, + { + \"method\": \"dns_is_enabled\", + \"params\": [[], {}] + } + ], + {} + ] +}" curl -v\ -H "Content-Type: application/json"\ @@ -24,6 +47,6 @@ curl -v\ --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"}]}],{}]}'\ + -d "$json"\ -X POST\ https://`hostname`/ipa/json | sed 's/[ \t]*$//' > $INIT_FILE |
