Add lldap to auth01 host

This commit is contained in:
2025-04-01 22:22:43 +02:00
parent 5370d01c3d
commit cba1821f3b
11 changed files with 253 additions and 76 deletions

View File

@@ -0,0 +1,24 @@
{ ... }:
{
authelia.instances."auth" = {
enable = true;
settings = {
authentication_backend = {
ldap = {
address = "ldap://127.0.0.1:389";
implementation = "lldap";
timeout = "5s";
base_dn = "dc=home,dc=2rjus,dc=net";
attributes = {
distinguished_name = "distinguishedName";
username = "user_id";
display_name = "displayName";
mail = "mail";
member_of = "memberOf";
group_name = "cn";
};
};
};
};
};
}