Patch Portunus to allow using both insecure ldap and ldaps at once
This commit is contained in:
parent
c992331bbd
commit
11be7f44c1
2 changed files with 19 additions and 3 deletions
|
@ -56,7 +56,10 @@ in
|
|||
services.portunus = {
|
||||
enable = true;
|
||||
package = pkgs.portunus.overrideAttrs (old: {
|
||||
patches = [ ./0001-update-user-validation-regex.patch ];
|
||||
patches = [
|
||||
./0001-update-user-validation-regex.patch
|
||||
./0002-both-ldap-and-ldaps.patch
|
||||
];
|
||||
});
|
||||
|
||||
inherit domain;
|
||||
|
@ -68,9 +71,9 @@ in
|
|||
suffix = "dc=ifsr,dc=de";
|
||||
searchUserName = "search";
|
||||
|
||||
# disables port 389, use 636 with tls
|
||||
# normally disables port 389 (but not with our patch), use 636 with tls
|
||||
# `portunus.domain` resolves to localhost
|
||||
#tls = true;
|
||||
tls = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue