mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 13:05:53 +03:00
[GH-ISSUE #1787] 💬 [Question] LDAP auth config issue #709
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#709
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kevinend51 on GitHub (Nov 11, 2025).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/1787
Originally assigned to: @IrAlfred on GitHub.
💬 Question
Thanks for your help for #1481. I'm now closer to successfully configure LDAP auth.
The last obstacle is about the DN format. I'm using authentik and being able to bind my ldap account:
However, I found cypht's LDAP auth bind the user DN with
uid=someuser,DC=ldap,DC=goauthentik,DC=io. This will cause my authentik server failed to auth. I try to find config to makeuid=becomecn=but there seems no such an option. How could I solve this issue?@IrAlfred commented on GitHub (Nov 11, 2025):
Hello @kevinend51,
Thank you for your question.
About
The option exists,
LDAP_UID_ATTR="uid"
LDAP_AUTH_UID_ATTR="uid"
you can change
uidtocn. With docker you need to remove the quotes.@kevinend51 commented on GitHub (Nov 11, 2025):
Thanks, I finally made it!