GithubHelp home page GithubHelp logo

Comments (3)

AndreasErgenzinger avatar AndreasErgenzinger commented on August 15, 2024

Hello,

I'm afraid I am a little busy until Friday, so I'll be brief.

Those log messages indicating a problem opening the home directory are
the result of a bug in the owncloud core, on low log levels I get the
same log entries from the LDAP user backend. If I remember correctly, it
is caused by one method expecting a boolean value, but the user
interface enforcing the return of a string.

Anyway, this doesn't cause any problems, it just spams your log file.

I am more worried about you seeing a blank page.

I will continue this in my reply to your second request.

On 03.06.2013 16:44, ggambini wrote:

Hi all,

I had used user_saml for OC4.5 with a simplesamlphp SP, but doesn't
work with OC5.
I try our user_shibboleth with a Shibboleth SP, i have several fatal
errors in OC5 after auth at first user's login. I have a blanck page
after login on user_shibboleth/login.php and in owncloud log i can see :
|{"app":"PHP","message":"opendir(/data/owncloud/ec687ba39b1d1ed51d605089ae5d2a2bd32a03ed050a8d1dcbf3991d9fefxxxx/cache/):
failed to open dir: No such file or directory at
/var/www/owncloud/lib/files/storage/local.php#40","level":2,"time":1370266793}
{"app":"PHP","message":"readdir() expects parameter 1 to be resource,
boolean given at
/var/www/owncloud/lib/cache/file.php#88","level":2,"time":1370266793}
|

The folder /data/owncloud is writable for apache users and mkdir
command in a shell work fine with this folder name.
|
mkdir
/data/owncloud/ec687ba39b1d1ed51d605089ae5d2a2bd32a03ed050a8d1dcbf3991d9fefxxxx
|

My local conf :
Apache location in vhost spécific conf :
|

Order allow,deny
Allow from all|

| # Auth Shibb
AuthType shibboleth
ShibRequestSetting requireSession 0
ShibRequestSetting applicationId partage
Require shibboleth

                 ShibUseHeaders On
         </Location>

|
|

(note: my owncloud is behind a reverse proxy and i map requested
attributes)

And user_shibboleth conf :
|
Sessions HandlerURL:
/Shibboleth.sso/Login?target=https://mydomain/apps/user_shibboleth/login.php
SessionInitiator Location: /
Federation Name: Fédération Education-Recherche
Quota: 2GB
Enforce Domain Similarity uncheck
Link to LDAP Backend uncheck
|

Do you have some hints about failed directory creation ?
Regards, Gamb.


Reply to this email directly or view it on GitHub
#3.

from user_shibboleth.

ggambini avatar ggambini commented on August 15, 2024

Hi,

Thank you for fast reply ;-) the user's creation failed, no home directory was created. In admin mode, i cant browse user's list, i have a sql fatal error :

{"app":"PHP","message":"SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''30' OFFSET NULL' at line 1 at /var/www/owncloud/lib/db.php#965","level":4,"time":1370267567}

A normal user's creation work fine, i think there are a problem between your app and user's OC API. Perhaps, persistent-id is too long for a folder name ? I think not, but i dont check php limits.

Regards, Gamb.

from user_shibboleth.

ggambini avatar ggambini commented on August 15, 2024

Hi Andreas,

In my ownCloud instance, i set the data folder out of /var/www. My data folder is /data/owncloud/. When i use user_shibboleth, i have several error about the home directory of an user. If i browse my data folder, i didn't find shibb users home. But if i browse the default data folder ie /var/www/owncloud/data, i can see a shibboleth folder with shibb users home directories !!
I think the source of fatal errors are here :-)

Regards, Gamb.

from user_shibboleth.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.