Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/univention-app.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2022-05-12 21:40:56 +0300
committerGitHub <noreply@github.com>2022-05-12 21:40:56 +0300
commitf496ce72485c7aa4ec89c256af3508734beba290 (patch)
tree1f044b5da80457befff25c78c17da0bc93ccbed3
parent570961e29a7af6818210abeb972d8a676b98cedf (diff)
parent9c5bb86d41a2c14dfcf05ba8630797e1592d6b53 (diff)
Merge pull request #162 from nextcloud/fix-user-saml-5.0-config
adjust user_saml configuration
-rw-r--r--inst13
1 files changed, 8 insertions, 5 deletions
diff --git a/inst b/inst
index 3ee6fbd..78d7281 100644
--- a/inst
+++ b/inst
@@ -277,14 +277,17 @@ nextcloud_configure_saml() {
')
SETCMD="univention-app shell nextcloud sudo -u www-data /var/www/html/occ config:app:set user_saml"
- $SETCMD idp-x509cert --value="$IDP_CERT"
$SETCMD type --value="saml"
$SETCMD general-require_provisioned_account --value="1"
$SETCMD general-allow_multiple_user_back_ends --value="1"
- $SETCMD general-uid_mapping --value="uid"
- $SETCMD idp-singleLogoutService.url --value="https://$ucs_server_sso_fqdn/simplesamlphp/saml2/idp/SingleLogoutService.php"
- $SETCMD idp-singleSignOnService.url --value="https://$ucs_server_sso_fqdn/simplesamlphp/saml2/idp/SSOService.php"
- $SETCMD idp-entityId --value="https://$ucs_server_sso_fqdn/simplesamlphp/saml2/idp/metadata.php"
+
+ univention-app shell nextcloud sudo -u www-data /var/www/html/occ saml:config:set \
+ --idp-x509cert="${IDP_CERT}" \
+ --general-uid_mapping="uid" \
+ --idp-singleLogoutService.url="https://${ucs_server_sso_fqdn}/simplesamlphp/saml2/idp/SingleLogoutService.php" \
+ --idp-singleSignOnService.url="https://${ucs_server_sso_fqdn}/simplesamlphp/saml2/idp/SSOService.php" \
+ --idp-entityId="https://${ucs_server_sso_fqdn}/simplesamlphp/saml2/idp/metadata.php" \
+ 1
}
# Enables all Users that fit the filter to access Nextcloud