Closed the-maldridge closed 9 months ago
Further testing has shown that the bind
parsing is just broken. I have changed my config from bind unauth
to not having the bind keyword present and things mostly work now. I am not really sure why this breaks, because reading the code nothing looks obviously off.
Mine is
auth.ldap ldap_authdb {
#debug on
urls ldaps://ldap.example.org:636
dn_template "cn={username},ou=users,dc=mail,dc=example,dc=org"
}
so it automatically tries to bind with the credentials the user provides.
@AlphaJack yes, I want to search though so that mailbox creation works (not that it does in my setup anyway with search, but I'm kind of chalking that up to auth_map/delivery_map appearing to be fundamentally broken.
@foxcpp Can you please release a 6.3 with this fix? The latest release is from July 2022
Fixed as of 0.7.
Describe the bug
Attempting to use
auth.ldap
results in a panic on config load.Steps to reproduce
Configure ldap, I don't think it actually matters if the server is up because maddy panics before then:
Log files
Configuration file
Environment information