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] An exception occurred during GET request on '/.web/': string indices must be integers, not 'str' when using LDAP #1567

Closed
pbiering opened this issue Sep 15, 2024 Discussed in #1566 · 3 comments
Assignees
Labels
auth:ldap Authentication LDAP bug
Milestone

Comments

@pbiering
Copy link
Collaborator

Discussed in #1566

Originally posted by poperigby September 14, 2024
I'm running Radicale from this commit da844f4, and I have the following configuration file:

[auth]
type = ldap
ldap_uri = ldap://localhost:3890
ldap_base = dc=haddock,dc=cc
ldap_reader_dn = uid=radicale,ou=people,dc=haddock,dc=cc
ldap_secret = REDACTED
ldap_filter = (objectClass=person)

When I attempt to access Radicale at https://dav.haddock.cc/radicale/, I get the following error message in the Radicale log:

[INFO] GET request for '/' received from 127.0.0.1 (forwarded for '192.168.1.1') using 'Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0'
[ERROR] An exception occurred during GET request on '/': string indices must be integers, not 'str'

I'm greeted with this message on the webpage:

A server error occurred.  Please contact the administrator.
```</div>
@pbiering pbiering added bug auth:ldap Authentication LDAP labels Sep 15, 2024
@pbiering pbiering added this to the 3.2.4 milestone Sep 15, 2024
@pbiering
Copy link
Collaborator Author

@petervarkoly : can you investigate? The built-in webserver serving javascript should not have any authentication applied.

@petervarkoly
Copy link
Contributor

petervarkoly commented Sep 16, 2024 via email

@petervarkoly
Copy link
Contributor

Fixed in #1570

@pbiering pbiering modified the milestones: 3.2.4, 3.3.0 Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth:ldap Authentication LDAP bug
Projects
None yet
Development

No branches or pull requests

2 participants