From 7987c3d069ea6c2adb3c06d4bada0cef1121948b Mon Sep 17 00:00:00 2001 From: Robert Orr Date: Thu, 16 Oct 2025 11:12:14 -0700 Subject: 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 --- docs/ldap.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 docs/ldap.md (limited to 'docs') 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" -- cgit 1.4.1