Fix more ldap

This commit is contained in:
Sandro - 2023-10-01 21:51:10 +02:00
parent fd11aaca7a
commit 514848a26b
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 7 additions and 2 deletions

View File

@ -228,6 +228,11 @@
name = "home-assistant-users";
permissions = {};
}
{
long_name = "Mobilizon Users";
name = "mobilizon-users";
permissions = {};
}
];
};

View File

@ -29,9 +29,9 @@
in {
enabled = true;
base = ldap.userBaseDN;
bind_uid = ldap.searchUID;
bind_uid = { value = ''{:full, "uid=search,ou=users,dc=c3d2,dc=de"}''; _elixirType = "raw"; };
bind_password = settingsFormat.lib.mkGetEnv { envVariable = "MOBILIZON_LDAP_BIND_PASSWORD"; };
# group = true;
group = "mobilizon-users";
host = ldap.domainName;
port = ldap.port;
require_bind_for_search = true;