Better groups

This commit is contained in:
2026-07-10 18:57:50 -04:00
parent be5105ba1b
commit ad787a6bf8
6 changed files with 19 additions and 9 deletions
+2 -2
View File
@@ -56,12 +56,12 @@ if [[ -v sso_token ]]; then
curl "${sso_url}/api/group/" \
-H "auth-token: ${sso_token}" \
-H "content-type: application/json; charset=UTF-8" \
--data-binary "{\"name\":\"host_${current_host}_access\",\"description\":\"Access for $current_host\"}"
--data-binary "{\"name\":\"${ldapLocation}_host_${current_host}_access\",\"description\":\"Access for $current_host\"}"
curl "${sso_url}/api/group/" \
-H "auth-token: ${sso_token}" \
-H "content-type: application/json; charset=UTF-8" \
--data-binary "{\"name\":\"host_${current_host}_admin\",\"description\":\"sudo for $current_host\"}"
--data-binary "{\"name\":\"${ldapLocation}_host_${current_host}_admin\",\"description\":\"sudo for $current_host\"}"
fi
echo "--- SSSD Migration Complete! ---"