[Pkg-owncloud-commits] [owncloud-client] 37/70: Use a different key than "user" to store the shib user

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat May 17 20:01:28 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 574e030caf42b8eaef4ebd4f85b3941a9b8829c1
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Tue May 13 11:52:46 2014 +0200

    Use a different key than "user" to store the shib user
    
    There is a HACK from commit fa0a2764a40d5955f1d3426481f998a370223290
    Which save the http user as a user for all credidentials, but that
    cannot work with shibboleth
    
    Fixes https://github.com/owncloud/enterprise/issues/175
---
 src/creds/shibbolethcredentials.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/creds/shibbolethcredentials.cpp b/src/creds/shibbolethcredentials.cpp
index 90a413c..fda7ab4 100644
--- a/src/creds/shibbolethcredentials.cpp
+++ b/src/creds/shibbolethcredentials.cpp
@@ -43,7 +43,8 @@ namespace Mirall
 namespace
 {
 
-const char userC[] = "user";
+// Not "user" because it has a special meaning for http
+const char userC[] = "shib_user";
 
 int shibboleth_redirect_callback(CSYNC* csync_ctx,
                                  const char* uri)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list