aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-02-22 10:36:23 +0100
committerGitHub <noreply@github.com>2024-02-22 10:36:23 +0100
commitca2e57d57ffd20c2d5eb3940d881e0b8d8d81e42 (patch)
treeaf755b7e916678f70a205193c9630bdcdea54990 /apps/files_external
parent4b71b09c4286dca28da7f252f5910a310bc0ed59 (diff)
parentd4042028690ebf47393f5d5f70978d6e9b1e90fb (diff)
downloadnextcloud-server-ca2e57d57ffd20c2d5eb3940d881e0b8d8d81e42.tar.gz
nextcloud-server-ca2e57d57ffd20c2d5eb3940d881e0b8d8d81e42.zip
Merge pull request #43304 from nextcloud/backport/43296/stable28
Diffstat (limited to 'apps/files_external')
-rwxr-xr-xapps/files_external/tests/sso-setup/test-sso-smb.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/files_external/tests/sso-setup/test-sso-smb.sh b/apps/files_external/tests/sso-setup/test-sso-smb.sh
index b0f0a2c7af9..df0692f4319 100755
--- a/apps/files_external/tests/sso-setup/test-sso-smb.sh
+++ b/apps/files_external/tests/sso-setup/test-sso-smb.sh
@@ -5,8 +5,9 @@ DC_IP="$1"
SCRIPT_DIR="${0%/*}"
echo -n "Checking that we can authenticate using kerberos: "
-LOGIN_CONTENT=$("$SCRIPT_DIR/client-cmd.sh" $DC_IP curl -i -s --negotiate -u testuser@DOMAIN.TEST: --delegation always http://httpd.domain.test/index.php/apps/user_saml/saml/login?originalUrl=success)
-if [[ "$LOGIN_CONTENT" =~ "Location: success" ]]; then
+LOGIN_CONTENT=$("$SCRIPT_DIR/client-cmd.sh" $DC_IP curl -i -s --negotiate -u testuser@DOMAIN.TEST: --delegation always http://httpd.domain.test/index.php/apps/user_saml/saml/login?originalUrl=http://localhost/success)
+
+if [[ "$LOGIN_CONTENT" =~ "Location: http://localhost/success" ]]; then
echo "✔️"
else
echo "❌"