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