ldap: improve the documentation
This commit is contained in:
parent
fb3210b932
commit
7695c856f1
2 changed files with 3 additions and 1 deletions
|
@ -225,6 +225,7 @@ in
|
||||||
tlsCAFile = mkOption {
|
tlsCAFile = mkOption {
|
||||||
type = types.path;
|
type = types.path;
|
||||||
default = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
|
default = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
|
||||||
|
defaultText = lib.literalMD "see [source](https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/blob/master/default.nix)";
|
||||||
description = ''
|
description = ''
|
||||||
Certifificate trust anchors used to verify the LDAP server certificate.
|
Certifificate trust anchors used to verify the LDAP server certificate.
|
||||||
'';
|
'';
|
||||||
|
@ -324,7 +325,7 @@ in
|
||||||
example = "(&(objectClass=inetOrgPerson)(mail=%s))";
|
example = "(&(objectClass=inetOrgPerson)(mail=%s))";
|
||||||
description = ''
|
description = ''
|
||||||
LDAP filter used to search for an account by mail, where
|
LDAP filter used to search for an account by mail, where
|
||||||
<literal>%s</literal> is a substitute for the address in
|
`%s` is a substitute for the address in
|
||||||
question.
|
question.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
@ -27,6 +27,7 @@ groups = ["mailserver.loginAccounts",
|
||||||
"mailserver.dmarcReporting",
|
"mailserver.dmarcReporting",
|
||||||
"mailserver.fullTextSearch",
|
"mailserver.fullTextSearch",
|
||||||
"mailserver.redis",
|
"mailserver.redis",
|
||||||
|
"mailserver.ldap",
|
||||||
"mailserver.monitoring",
|
"mailserver.monitoring",
|
||||||
"mailserver.backup",
|
"mailserver.backup",
|
||||||
"mailserver.borgbackup"]
|
"mailserver.borgbackup"]
|
||||||
|
|
Loading…
Reference in a new issue