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

Error with 2.10.3 #131

Closed
t-book opened this issue Apr 22, 2024 · 3 comments
Closed

Error with 2.10.3 #131

t-book opened this issue Apr 22, 2024 · 3 comments
Assignees
Labels

Comments

@t-book
Copy link

t-book commented Apr 22, 2024

Hi,

I get

AttributeError: 'LdapPlugin' object has no attribute 'authenticate'

with ckan 2.10.3. Can one confirm that the plugin is working in this latest version?

Thanks,

– Toni

@t-book t-book added the bug label Apr 22, 2024
@alycejenni
Copy link
Member

We haven't tested it on 2.10 yet so I'm not sure, but I wouldn't be surprised if it was broken in the new version.
This probably relates to #104

@t-book
Copy link
Author

t-book commented Apr 22, 2024

Oh hello @alycejenni . thanks for your fast reply ;)
So it looks the plugin needs the authenticate method. Find here my quick test.

main...cuprit-gbr:ckanext-ldap:main

I'm not really familiar with iAuthenticator interface.

Anyways. Hopefully it helps you to know that it is working with a simple fix. Even if it is not perfect.

@jrdh
Copy link
Member

jrdh commented May 10, 2024

Fix is merged into dev, we'll do a release next week but do feel free to check the dev branch's latest changes if you want to confirm the fix works for you @t-book. As I mentioned in #132 and you highlighted in your comment above, this isn't the ideal fix, doing #104 would be best. It's on our backlog and we'll try to find the time to look at it soon.

@jrdh jrdh closed this as completed May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

3 participants