mirror of https://gitlab.crans.org/nounous/nixos
Mutable Users -> false
parent
c5de3676af
commit
07a3891c6a
|
@ -1,17 +1,21 @@
|
||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
users.ldap = {
|
users = {
|
||||||
enable = true;
|
mutableUsers = false;
|
||||||
base = "dc=crans,dc=org";
|
|
||||||
server = "ldaps://ldap-adm.adm.crans.org/";
|
ldap = {
|
||||||
daemon = {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = ''
|
base = "dc=crans,dc=org";
|
||||||
ldap_version 3
|
server = "ldaps://ldap-adm.adm.crans.org/";
|
||||||
tls_reqcert allow
|
daemon = {
|
||||||
map passwd loginShell /run/current-system/sw/bin/bash
|
enable = true;
|
||||||
'';
|
extraConfig = ''
|
||||||
|
ldap_version 3
|
||||||
|
tls_reqcert allow
|
||||||
|
map passwd loginShell /run/current-system/sw/bin/bash
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue