Add lldap to auth01 host
This commit is contained in:
24
services/authelia/default.nix
Normal file
24
services/authelia/default.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user