gerd.lldap: renamed user-pass to admin-user-pass and added bind-user-pass
This commit is contained in:
parent
3c808fa3a7
commit
17fb88a8b4
6 changed files with 16 additions and 7 deletions
|
@ -91,6 +91,7 @@ in {
|
|||
authelia-storage.owner = "authelia-main";
|
||||
authelia-session.owner = "authelia-main";
|
||||
authelia-oidc-issuer-privatekey-pem.owner = "authelia-main";
|
||||
authelia-lldap-bind-user-pass.owner = "authelia-main";
|
||||
};
|
||||
|
||||
users.groups."${config.age.secrets.lldap-bind-user-pass.group}".members = [ config.users.users.authelia-main.name ];
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
environment = {
|
||||
# always set admin password on startup
|
||||
LLDAP_LDAP_USER_PASS_FILE = config.age.secrets.lldap-user-pass.path;
|
||||
LLDAP_LDAP_USER_PASS_FILE = config.age.secrets.lldap-admin-user-pass.path;
|
||||
# only available on the newest master branch, will be enabled when a
|
||||
# new version is released.
|
||||
# https://github.com/lldap/lldap/issues/790
|
||||
|
@ -35,6 +35,6 @@
|
|||
users.users.lldap = { group = "lldap"; isSystemUser = true; };
|
||||
users.groups.lldap = {};
|
||||
age.secrets = {
|
||||
lldap-user-pass.owner = "lldap";
|
||||
lldap-admin-user-pass.owner = "lldap";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue