summaryrefslogtreecommitdiffstats
path: root/tests/data/test-modify.ldif
blob: 2bd98be2d5decea7ce1d470ad4028b15d7c2d7b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
version: 1

# LEADING COMMENT AND WHITE SPACE

dn: cn=James A Jones 1,ou=Alumni Association,ou=People,dc=example,dc=com
# EMBEDDED COMMENT
changetype: modify
add: drink
drink: Pils
-
add: drink
drink: Orange Juice
-
delete: drink
drink: Pils
-
delete: sn
sn: Jones
-
add: sn
sn: Jones

dn: cn=Bjorn Jensen,ou=Information Technology Division,ou=People,dc=example,dc=com
changetype: modify
# EMBEDDED COMMENT
 CONTINUED
replace: description
description: The replaced multiLineDescription $ Blah Woof.
-
replace: drink
drink: Iced Tea
drink: Mad Dog 20/20

dn: cn=ITD Staff,ou=Groups,dc=example,dc=com
changetype: modify
delete: uniquemember
uniquemember: cn=James A Jones 2,ou=Information Technology Division,
 ou=People,dc=example,dc=com
uniquemember: cn=Bjorn Jensen,ou=Information Technology Division,
 ou=People,dc=example,dc=com
-
add: uniquemember
uniquemember: cn=Dorothy Stevens,ou=Alumni Association,
 ou=People,dc=example,dc=com
uniquemember: cn=James A Jones 1,ou=Alumni Association,
 ou=People,dc=example,dc=com
-
add: objectClass
objectClass: OpenLDAPdisplayableObject
objectClass: pkiUser
objectClass: userSecurityInformation
-
delete: objectClass
objectClass: userSecurityInformation
objectClass: pkiUser
objectClass: OpenLDAPdisplayableObject

dn: cn=All Staff,ou=Groups,dc=example,dc=com
changetype: modify
delete: member
-
add: member
member: cn=Dorothy Stevens,ou=Alumni Association,ou=People,dc=example,dc=com
-
delete: description
-
add: objectClass
objectClass: OpenLDAPdisplayableObject
objectClass: pkiUser
objectClass: userSecurityInformation
-
delete: objectClass
objectClass: OpenLDAPdisplayableObject
objectClass: pkiUser
objectClass: userSecurityInformation

dn: cn=Gern Jensen,ou=Information Technology Division,ou=People,dc=example,dc=com
changetype: add
objectclass: testPerson
cn: Gern Jensen
sn: Jensen
uid: gjensen
title: Chief Investigator, ITD
postaladdress: ITD $ 535 W. William St $ Anytown, MI 48103
seealso: cn=All Staff,ou=Groups,dc=example,dc=com
drink: Coffee
homepostaladdress: 844 Brown St. Apt. 4 $ Anytown, MI 48104
description: Very odd
facsimiletelephonenumber: +1 313 555 7557
telephonenumber: +1 313 555 8343
mail: gjensen@mailgw.example.com
homephone: +1 313 555 8844
testTime: 20050304001801.234Z

dn: cn=James A Jones 2,ou=Information Technology Division,ou=People,dc=example,dc=com
changetype: delete
# TRAILING COMMENT AND WHITE SPACE

dn: ou=People,dc=example,dc=com
changetype: modify
increment: uidNumber
uidNumber: 1
-
increment: gidNumber
gidNumber: -1

dn: dc=example,dc=com
changetype: modify
# EMPTY SEQUENCE OF CHANGE