a70ae543cb
within the new account backends nav section.
18 lines
342 B
Nix
18 lines
342 B
Nix
{
|
|
mailserver = {
|
|
ldap = {
|
|
enable = true;
|
|
uris = [
|
|
"ldaps://ldap1.example.com"
|
|
"ldaps://ldap2.example.com"
|
|
];
|
|
bind = {
|
|
dn = "cn=mail,dc=example=dc=com";
|
|
passwordFile = "/run/keys/ldap-bind-pw";
|
|
};
|
|
base = "ou=users,dc=example,dc=com";
|
|
scope = "one";
|
|
};
|
|
};
|
|
}
|