19 Apr
2026
19 Apr
'26
9:52 p.m.
Hi,
I want to read the ldap auth-dn password from a file to avoid having it as part of the configuration (which may be checked into VCS).
I specified
ldap_auth_dn_password = </some/file
where /some/file contains the password without extra whitespace (esp.
there is no \n, I checked with xxd).
But ldap auth does not succeed because of a wrong password. Password itself does work though, as checked with ldapsearch (even using the same file as password provider)
doveconf -x -P *does* show the correct value.
The same issue has been reported back in 2019 [1], without any reply though :-/
Any ideas?
Thanks, René
[1] https://dovecot.org/list/dovecot/2019-September/117100.html