docs: warn about lack of trimming on the LDAP bind password
This commit is contained in:
@@ -425,6 +425,11 @@ in
|
|||||||
example = "/run/my-secret";
|
example = "/run/my-secret";
|
||||||
description = ''
|
description = ''
|
||||||
File containing the password required to bind against the LDAP server.
|
File containing the password required to bind against the LDAP server.
|
||||||
|
|
||||||
|
:::{warning}
|
||||||
|
The password file is read verbatim. Any trailing newline will become
|
||||||
|
part of the password and may cause authentication failures.
|
||||||
|
:::
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -64,6 +64,9 @@ LDAP
|
|||||||
typical LDAP practices. The exact attribute can be customized through
|
typical LDAP practices. The exact attribute can be customized through
|
||||||
:option:`mailserver.ldap.attributes.username`.
|
:option:`mailserver.ldap.attributes.username`.
|
||||||
|
|
||||||
|
- The LDAP bind password is now read verbatim without trimming whitespace. Any
|
||||||
|
trailing newline is now preserved and may cause authentication failures.
|
||||||
|
|
||||||
- Local and LDAP accounts can now coexist. For overlapping accounts and addresses
|
- Local and LDAP accounts can now coexist. For overlapping accounts and addresses
|
||||||
the local account will always win.
|
the local account will always win.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user