summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
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"