[owncloud-user] Owncloud SSO integration

Sérgio Afonso safonso at sp.up.pt
Mon Feb 17 13:27:27 MET 2014

Hi Laszlo et all,

I also struggled with this SSO integration when moving from OC 5 to OC 
6. In OC5 the Shibboleth authentication was working perfectly using the 
user_servervars owncloud app. Once I moved to OC 6, the SSO integration 
and Shibboleth authentication were imediatelly broke.

Nevertheless, I think I found a workaround to the problem and I think 
it's working pretty well.

You can follow this link to install the app user_servervars


Even though its in French and directed to ownCloud 5, you can use a 
translator and it also works fro ownCloud 6.

After this installation the problems begun. I still reported it in 
ownCloud mailing list. I attach the messages for reference of the 
problems found.

Ultimatelly the solution was to put in the user_servervars.php file the 
following block of code:

         * we don´t know if a user exists without the password. so we 
have to return true all the time
         public function userExists( $uid ){
                 return true;


On 02/14/2014 07:43 PM, Tornóci László wrote:
> On 02/14/2014 08:22 PM, Daniel Molkentin wrote:
>> Am 14.02.2014 um 19:43 schrieb Tornóci László:
>>> On 02/14/2014 05:33 PM, Thomas Müller wrote:
>>>> <not-community>
>>>> FYI: ownCloud 6 Enterprise will contain Shibboleth authentication
>>>> </not-community>
>>> FYI: there are users in the community who also need Shibboleth auth
>>> (it is widely used in the academic environment).
>> And ownCloud Inc is happy to support academic environments:
>> https://owncloud.com/products/education.
> Thanks, I was not aware of the academic version. However, the page 
> contains: "Pricing begins at $9000/year for 500 users"
> I have no idea about the pricing of the enterprise version, so this 
> may be very cheap compared to that, but it is still way out of reach 
> for us.
> Hopefully someone has the time to fix the user_saml app that provides 
> shibboleth auth and works quite well for OC 5 (but not for OC 6 I guess).
>                         Yours: Laszlo
> _______________________________________________
> User mailing list
> User at owncloud.org
> http://mailman.owncloud.org/mailman/listinfo/user


SPUP-TIC.PNGSérgio Afonso

Email: safonso at sp.up.pt <mailto:safonso at sp.up.pt>

Tel: +351 220 408 546 / Ext. 8546

Unidade de Administração de Sistemas

Praça Gomes Teixeira

4099-002 Porto, Portugal

Email: helpdesk at up.pt <mailto:helpdesk at up.pt>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.owncloud.org/pipermail/user/attachments/20140217/fe088972/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: afejfcaj.png
Type: image/png
Size: 15329 bytes
Desc: not available
URL: <http://mailman.owncloud.org/pipermail/user/attachments/20140217/fe088972/attachment-0001.png>
-------------- next part --------------
An embedded message was scrubbed...
From: =?ISO-8859-1?Q?S=E9rgio_Afonso?= <safonso at sp.up.pt>
Subject: [Owncloud] Problems in Shibboleth authentication in ownCloud 6.
Date: Fri, 13 Dec 2013 15:04:07 +0000
Size: 17180
URL: <http://mailman.owncloud.org/pipermail/user/attachments/20140217/fe088972/attachment-0002.mht>
-------------- next part --------------
An embedded message was scrubbed...
From: =?ISO-8859-1?Q?S=E9rgio_Afonso?= <safonso at sp.up.pt>
Subject: Re: [Owncloud] Problems in Shibboleth authentication in ownCloud 6.
Date: Mon, 16 Dec 2013 17:47:46 +0000
Size: 32144
URL: <http://mailman.owncloud.org/pipermail/user/attachments/20140217/fe088972/attachment-0003.mht>

More information about the User mailing list