summaryrefslogtreecommitdiffstats
path: root/scripts/hbacsvc-find.sh
blob: 8d2e8e0885c0f20e2d93d2b39cf68ff7fe808e56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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