summary refs log tree commit diff
path: root/docs/ldap.md
blob: ed305fc01951ef190b307daaca5a46ed79149d92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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"