summaryrefslogtreecommitdiffstats
path: root/scripts/netgroup-show.sh
blob: b9d7e81201fb75f5405584916484939ff206855e (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh +x

curl\
  -H "Content-Type:application/json"\
  -H "Accept:applicaton/json"\
  --negotiate -u :\
  --cacert /etc/ipa/ca.crt\
  -d '{"method":"netgroup_show","params":[["test"],{}],"id":0}'\
  -X POST\
  https://dev.example.com/ipa/json