You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Omitting %s from LDAP bind DN sends corrupted bind DN string to LDAP server #8899
bugA problem with current functionality, as opposed to missing functionality (enhancement)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussionneeds-triageNew issues needed to be validated
Syncthing version: v1.23.4, Linux (64-bit Intel/AMD Container)
What Happened
Configuring LDAP auth with a bind DN which omits the %s placeholder (to restrict login to a specific user with LDAP) results in the following bind DN being sent to LDAP:
So configuring
cn=will,dc=home,dc=internal
results in the following being sent to the LDAP server
cn=will,dc=home,dc=internal%!(extra string=will)
Which obviously fails.
What Is Expected
If the %s is omitted, the the bind DN will be sent as-is to the LDAP server.
changed the title [-]Omitting %s from LDAP bind DN breaks LDAP auth[/-][+]Omitting %s from LDAP bind DN sends corrupted bind DN string to LDAP server[/+]on May 10, 2023
bugA problem with current functionality, as opposed to missing functionality (enhancement)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussionneeds-triageNew issues needed to be validated
Activity
[-]Omitting %s from LDAP bind DN breaks LDAP auth[/-][+]Omitting %s from LDAP bind DN sends corrupted bind DN string to LDAP server[/+]lib/api: Allow BindDN to exclude any username formatting (fixes #8899) (
Merge branch 'main' into syncthingw