summary refs log tree commit diff
path: root/services/accounts/openldap.nix
diff options
context:
space:
mode:
authorRobert Orr <robert@coffeezombie.com>2025-10-16 11:12:14 -0700
committerRobert Orr <robert@coffeezombie.com>2025-10-17 11:37:58 -0700
commit7987c3d069ea6c2adb3c06d4bada0cef1121948b (patch)
tree6ced64e6a150f5fd4d8d72194258a8655eeb7d7d /services/accounts/openldap.nix
parentaad528d1b211e64ffe3f5688c141d442d7fa081a (diff)
Modify openldap.nix to get rid of tabs.
First try at openldap configuration. also an initial ISL.ldif and some example ldif and a list of commands that work when run on the server itself. Also, some different example ldif files

Change-Id: I0d702410fbf5a6aa4c626e4f1fc233bb72bad4e5
Diffstat (limited to 'services/accounts/openldap.nix')
-rw-r--r--services/accounts/openldap.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/services/accounts/openldap.nix b/services/accounts/openldap.nix
index 764d7bf..e164fb4 100644
--- a/services/accounts/openldap.nix
+++ b/services/accounts/openldap.nix
@@ -116,7 +116,7 @@
 
             # This is needed because the memberof overlay has to do its
             # changes as a DN.
-            olcRootDN = "cn=admin,dc=internetsafetylabs,dc=org";
+            olcRootDN = "cn=ldap-admins,dc=internetsafetylabs,dc=org";
 
             # This should probably be commented out when there's nothing
             # horrible going on. It's important for bootstrapping and for
@@ -128,8 +128,8 @@
             #
             # TODO: we might consider adding some sort of auto-expiration
             # feature to the secret manager?
-            #olcRootPW = builtins.readFile
-            #    "/etc/nixos/secrets/openldap/root-password";
+            olcRootPW = builtins.readFile
+                "/etc/nixos/secrets/openldap/root-password";
 
             # TODO: once we have better formatting for this code (see the TODO
             # about an abstraction layer for long lines), the thinking behind