Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing in Owncloud 10 #1

Open
mangelft opened this issue Jan 2, 2018 · 5 comments
Open

Testing in Owncloud 10 #1

mangelft opened this issue Jan 2, 2018 · 5 comments
Labels

Comments

@mangelft
Copy link

mangelft commented Jan 2, 2018

Hi Miroslav, thank you for this app.

I am testing it in Owncloud 10 but I can't get it to work properly.

In owncloud.log appears the following "message":"Couldn't find identity for SAML uid: XXX...

If you previously created the user in the users_mapping table the login work fine.

Another error that appears in the logs is the following:

"message":"Undefined offset: 0 at /var/www/owncloud/apps/user_shib/lib/userattributemanager.php#363"

Do you know what can be happening?

Thank you!

@mirekys
Copy link
Owner

mirekys commented Jan 4, 2018

Hello,

thank you for testing this on OC 10 and reporting the issues. This app has been written for version 8.2 and I didn't manage to properly update this for OC 10 yet (I'm expecting more problems to arise, as the OC10 code base seems to differ quite a lot).

But I can see where the problems probably are & will provide fixes for this soon.

Thanks!

@mirekys mirekys added the bug label Jan 4, 2018
@mangelft
Copy link
Author

mangelft commented Jan 4, 2018

Thanks for your reply,

I work at CSUC this organization is similar to CESNET.

Now starting a new service with Owncloud and the goal of this project is a success owncloud integration to our federation service.

This app is very interesting for us especially the group mapping function.

Thanks for your time!

M. Ángel

mirekys added a commit that referenced this issue Jan 22, 2018
@mirekys
Copy link
Owner

mirekys commented Jan 22, 2018

Hello, I have pushed fixes to the oc10 branch. Basic functionality
should be working at least, you can check it out. But beware as
it is still largely untested on this version. We will be happy for
any further reported issues that you stumble upon.

We at CESNET are starting to look into migrating to an OAuth based
user backend, but I will try to manage this app for as long as possible.

Thank you

@mangelft
Copy link
Author

Thank you very much,

Finally, We have chosen to use the "Custom groups" app to solve the problem.

https://doc.owncloud.org/server/10.0/user_manual/files/webgui/custom_groups.html

My problem with its application, was that only the Login with Shibboleth worked if I previously inserted the user in the oc_users_mapping table.

The users not autoprovision automatically in this table?

Regards,

@mirekys
Copy link
Owner

mirekys commented Jan 22, 2018

It works properly now in the oc10 branch of this app. You just need to have the Autocreate accounts checkbox checked in the app settings and it will automatically create mapping entries for newly created accounts (when the user logs in for the first time).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants