Can't login using LDAP #1572
Replies: 4 comments 8 replies
-
@petervarkoly : can you further support? Potentially FAQ in Wiki would be helpful? |
Beta Was this translation helpful? Give feedback.
2 replies
-
@PeterBieringer Of course
Do you mean this wiki: https://github.com/Kozea/Radicale/wiki ?
Dipl. Ing. Péter Varkoly
EDV/IT Beratung
+49-15257491205
i.A. Cranix-Solutions GmbH
Steuernummer: 238/283/00067
Ust-ID: DE257896578
…________________________________
Von: Peter Bieringer ***@***.***>
Gesendet: Dienstag, 17. September 2024 21:27
An: Kozea/Radicale ***@***.***>
Cc: Peter Varkoly ***@***.***>; Mention ***@***.***>
Betreff: Re: [Kozea/Radicale] Can't login using LDAP (Discussion #1572)
@petervarkoly<https://github.com/petervarkoly> : can you further support? Potentially FAQ in Wiki would be helpful?
—
Reply to this email directly, view it on GitHub<#1572 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAVBKUKMDLMVVCPDBCYBGVTZXB7DHAVCNFSM6AAAAABOMEQNGKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANRXGQZTKNQ>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
2 replies
-
Please start Radicale in debug mode and send the logs.
Dipl.-Ing. Péter Varkoly
CRANIX Solutions
Am 20.09.2024 um 20:03 schrieb PopeRigby ***@***.***>:
Alright, I changed my filter to use that, but I still can't login 😕
Here's my LLDAP log from trying to login: https://gist.github.com/poperigby/0ade6bfafc73f0ac9a8418b632e831d6
—
Reply to this email directly, view it on GitHub<#1572 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAVBKUI7BBTYUB354XLDK6TZXRPQVAVCNFSM6AAAAABOMEQNGKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANZQHAYTGNY>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi,
I've analysed the logs and they show me only that the search was unsuccessfull. In the log of the ldap-server you can see
2024-09-20T17:58:51.522024615+00:00 DEBUG ┝━ 🐛 [debug]: | msg: LdapMsg { msgid: 6, op: SearchRequest(LdapSearchRequest { base: "dc=haddock,dc=cc", scope: Subtree, aliases: Always, sizelimit: 0, timelimit: 0, typesonly: false, f Equality("cn", "cassidy")]), attrs: ["memberOf"] }), ctrl: [] }
2024-09-20T17:58:51.522025385+00:00 DEBUG ┝━ do_search [ 700µs | 0.38% / 1.04% ]
2024-09-20T17:58:51.522693360+00:00 DEBUG │ ┝━ 🐛 [debug]: | request.base: "dc=haddock,dc=cc" | scope: Global
2024-09-20T17:58:51.522695850+00:00 DEBUG │ ┝━ get_user_list [ 214µs | 0.02% / 0.32% ]
2024-09-20T17:58:51.522701270+00:00 DEBUG │ │ ┝━ 🐛 [debug]: | filters: And([And([]), Equality(DisplayName, "cassidy")])
2024-09-20T17:58:51.522704970+00:00 DEBUG │ │ ┕━ list_users [ 199µs | 0.30% ] filters: Some(And([And([]), Equality(DisplayName, "cassidy")])) | _get_groups: true
2024-09-20T17:58:51.524512582+00:00 DEBUG │ │ ┕━ 🐛 [debug]: | return: []
The result is empty.
That is what the Radicale log say also:
[2024-09-20 13:26:09 -0700] [3213105/Thread-2 (process_request_thread)] [DEBUG] _login3 ldap://localhost:3890, uid=radicale,ou=people,dc=haddock,dc=cc
[2024-09-20 13:26:09 -0700] [3213105/Thread-2 (process_request_thread)] [DEBUG] _login3 bind as uid=radicale,ou=people,dc=haddock,dc=cc
[2024-09-20 13:26:09 -0700] [3213105/Thread-2 (process_request_thread)] [DEBUG] _login3 user 'cassidy' can not be find
Is really the "cn" the right attribute to search? Your reader dn has the attribute "uid": "uid=radicale,ou=people,dc=haddock,dc=cc"
Dipl. Ing. Péter Varkoly
EDV/IT Beratung
+49-15257491205
i.A. Cranix-Solutions GmbH
Steuernummer: 238/283/00067
Ust-ID: DE257896578
…________________________________
Von: PopeRigby ***@***.***>
Gesendet: Freitag, 20. September 2024 22:27
An: Kozea/Radicale ***@***.***>
Cc: Peter Varkoly ***@***.***>; Mention ***@***.***>
Betreff: Re: [Kozea/Radicale] Can't login using LDAP (Discussion #1572)
Sure. Here you go: https://gist.github.com/poperigby/6eded2b1dfe2af41b099cfdd2903c36b
—
Reply to this email directly, view it on GitHub<#1572 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAVBKUPZPP43DDH6Y7KC7IDZXSAK5AVCNFSM6AAAAABOMEQNGKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANZQHEZDAMA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
poperigby
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using LLDAP for my LDAP provider, but whenever I try to login with a user besides the
admin
, I get a 401 error on the webpage, and this output in the Radicale log:This is my Radicale configuration:
This is my LLDAP configuration:
This is the output of my LLDAP log when logging in: https://gist.github.com/poperigby/59d7208c23b9a830ed3634bab7b3cfaf
I'm using Radicale from 7fbc0e7
Beta Was this translation helpful? Give feedback.
All reactions