[Owncloud] Problem with unix user auth/pwauth under OC4beta
Stefan Dengscherz
stefan.dengscherz at gmail.com
Wed May 9 08:13:03 UTC 2012
Hello,
i'm using apaches "mod-auth-external" in combination with "pwauth" to
secure the parent directory for all my cloud web apps with system user
credentials. Owncloud (and other web apps like roundcube with plugin
"http_authentication") uses the cached user credentials to
automatically login.
Here's the corresponding apache configuration (debian 6):
---8<---
AddExternalAuth pwauth /usr/sbin/pwauth
SetExternalAuthMethod pwauth pipe
<Location />
AuthType Basic
AuthName "xxx - single sign-on"
AuthBasicProvider external
AuthExternal pwauth
Require valid-user
</Location>
---8<---
Kind regards, -sd
2012/5/8 Bart Visscher <bartv at thisnet.nl>:
> On Tue, May 08, 2012 at 03:49:31PM +0200, Holger Angenent wrote:
>> Hi,
>>
>> when trying to log in to OC4 beta with the recent unix user backend app
>> installed, I just get a white screen and in /var/log/apache2/error.log
>> the following message appears:
>>
>> PHP Fatal error: Call to undefined method
>> OC_Connector_Sabre_Principal::addPrincipal() in
>> /var/www/owncloud-owncloud/apps/user_pwauth/user_pwauth.php on line 84,
>> referer: https:...
>>
>> Since the addPrincipal-function in OC3 stayed in
>> lib/connector/sabre/principal.php, I am not sure, if this is a bug in
>> OC4 or the unix user app.
>
> Hello,
>
> The unix user app needs to change. This function is removed in OC4, the
> code now uses OC_User for this part.
>
> Bart
>
>>
>> Cheers,
>> Holger
>>
>>
>
>
>
>> _______________________________________________
>> Owncloud mailing list
>> Owncloud at kde.org
>> https://mail.kde.org/mailman/listinfo/owncloud
>
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud
More information about the Owncloud
mailing list