diff options
Diffstat (limited to 'scripts/hbacsvc-find.sh')
-rwxr-xr-x | scripts/hbacsvc-find.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/scripts/hbacsvc-find.sh b/scripts/hbacsvc-find.sh new file mode 100755 index 0000000..8d2e8e0 --- /dev/null +++ b/scripts/hbacsvc-find.sh @@ -0,0 +1,21 @@ +#!/bin/sh +x + +. ./include.sh + +json="{ + \"method\": \"hbacsvc_find\", + \"params\": [ + [ \"\" ], + { } + ], + \"id\":0 +}"\ + +curl\ + -H "Content-Type:application/json"\ + -H "Accept:applicaton/json"\ + --negotiate -u :\ + --cacert /etc/ipa/ca.crt\ + -d "$json"\ + -X POST\ + $IPA_JSON_URL |