summary refs log tree commit diff
path: root/docs
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 /docs
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 'docs')
-rw-r--r--docs/ldap.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/ldap.md b/docs/ldap.md
new file mode 100644
index 0000000..ed305fc
--- /dev/null
+++ b/docs/ldap.md
@@ -0,0 +1,22 @@
+Works:
+
+ldapsearch -x -H ldap://127.0.0.1 -D "cn=admin,dc=internetsafetylabs,dc=org" -w secret -b "dc=internetsafetylabs,dc=org"
+
+ldapdelete -x  -D "cn=admin,dc=internetsafetylabs,dc=org" -w secret uid=jdoe,ou=People,dc=internetsafetylabs,dc=org
+
+ldapmodify -x  -D "cn=admin,dc=internetsafetylabs,dc=org" -w secret -f modtest.ldif
+modifying entry "ou=Groups,dc=internetsafetylabs,dc=org"
+	modtest.ldif:
+		dn: ou=Groups,dc=internetsafetylabs,dc=org
+		changetype: modify
+		replace: ou
+		ou: groups
+		
+		changetype: modrdn
+		newrdn: ou=groups
+		deleteoldrdn: 0
+		-
+ldapmodify -x  -D "cn=admin,dc=internetsafetylabs,dc=org" -w secret -f modtest.ldif
+modifying entry "ou=Groups,dc=internetsafetylabs,dc=org"
+
+modifying rdn of entry "ou=Groups,dc=internetsafetylabs,dc=org"