]> git.sur5r.net Git - openldap/blob - tests/data/dn.out
ready for chaining writes
[openldap] / tests / data / dn.out
1 dn: dc=example,dc=com
2 objectClass: domain
3 objectClass: domainRelatedObject
4 dc: example
5 associatedDomain: example.com
6
7 dn: ou=LDAPv3,dc=example,dc=com
8 objectClass: organizationalUnit
9 ou: LDAPv3
10 description: RFC 2253 compliant DN string representation
11
12 dn: cn=Must Succeed,ou=LDAPv3,dc=example,dc=com
13 objectClass: groupOfNames
14 cn: Must Succeed
15 member: cn=Must Succeed,ou=LDAPv3,dc=example,dc=com
16 member:
17 member: uid=jsmith,dc=example,dc=net
18 member: cn=J. Smith+ou=Sales,dc=example,dc=net
19 member: cn=John Smith\2C III,dc=example,dc=net
20 member: ou=Sales\3B Data\2BAlgorithms,dc=example,dc=net
21 member:: Y249QmVmb3JlDUFmdGVyLGRjPWV4YW1wbGUsZGM9bmV0
22 member: cn=\23John Smith\20,dc=example,dc=net
23 member:: Y249THXEjWnEhw==
24 seeAlso: cn=John Smith\2C III,dc=example,dc=net
25 seeAlso: ou=Sales\3B Data\2BAlgorithms,dc=example,dc=net
26 seeAlso: cn=\23John Smith\20,dc=example,dc=net
27 description: "member" values contain specific DN forms;
28 description: "seeAlso" values contain DN forms already defined as "member",
29 description: but in a different string representation;
30 description: the following "description" values contain the "member" and
31 description: "seeAlso" DN string representations used above.
32 description: ""
33 description: UID=jsmith,DC=example,DC=net
34 description: OU=Sales+CN=J. Smith,DC=example,DC=net
35 description: CN=John Smith\, III,DC=example,DC=net
36 description: CN=John Smith\2C III,DC=example,DC=net
37 description: OU=Sales\; Data\+Algorithms,DC=example,DC=net
38 description: OU=Sales\3B Data\2BAlgorithms,DC=example,DC=net
39 description: CN=Before\0dAfter,DC=example,DC=net
40 description: CN=\23John Smith\20,DC=example,DC=net
41 description: CN=\#John Smith\ ,DC=example,DC=net
42 description: CN=Lu\C4\8Di\C4\87
43
44 dn: cn=Unescaped Equals,ou=LDAPv3,dc=example,dc=com
45 objectClass: groupOfNames
46 cn: Unescaped Equals
47 member: cn=Unescaped Equals,ou=LDAPv3,dc=example,dc=com
48 member: cn=A*x\3Db is a linear algebra problem,ou=LDAPv3,dc=example,dc=com
49 description: cn=A*x=b is a linear algebra problem,ou=LDAPv3,dc=example,dc=com 
50  // unescaped EQUALS
51
52 dn: ou=LDAPv2,dc=example,dc=com
53 objectClass: organizationalUnit
54 ou: LDAPv2
55 description: RFC 1779 compliant DN string representation
56
57 dn: cn=May Succeed 1,ou=LDAPv2,dc=example,dc=com
58 objectClass: groupOfNames
59 cn: May Succeed 1
60 member:
61 description: " " // space, quote characters (") are not part of the string
62
63 dn: cn=May Succeed 3,ou=LDAPv2,dc=example,dc=com
64 objectClass: groupOfNames
65 cn: May Succeed 3
66 member: uid=jsmith,o=example,c=US
67 description: UID=jsmith, O=example, C=US // spaces
68
69 dn: cn=May Succeed 4,ou=LDAPv2,dc=example,dc=com
70 objectClass: groupOfNames
71 cn: May Succeed 4
72 member: uid=jsmith,o=example,c=US
73 description: UID=jsmith;O=example;C=US // semi-colons
74
75 dn: cn=May Succeed 6,ou=LDAPv2,dc=example,dc=com
76 objectClass: groupOfNames
77 cn: May Succeed 6
78 member: cn=John Smith,o=example,c=US
79 description: CN="John Smith",O=example,C=US // quotes
80
81 dn: ou=Related Syntaxes,dc=example,dc=com
82 objectClass: organizationalUnit
83 ou: Related Syntaxes
84
85 dn: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com
86 objectClass: groupOfUniqueNames
87 cn: Name and Optional UID
88 uniqueMember: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com
89 uniqueMember: #'1'B
90 uniqueMember: #'10'B
91 uniqueMember: dc=example,dc=com#'1000'B
92 uniqueMember: dc=example,dc=com#'0'B
93 description: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com //
94   only DN portion
95 description: #'1'B // empty "" DN
96 description: #'0010'B // empty "" DN with leading '0's
97 description: dc=example,dc=com#'1000'B // with DN portion
98 description: dc=example,dc=com#'0'B // with DN portion and just one '0'
99
100 dn: cn=Should Parse as DN,cn=Name and Optional UID,ou=Related Syntaxes,dc=exam
101  ple,dc=com
102 objectClass: groupOfUniqueNames
103 cn: Should Parse as DN
104 uniqueMember: dc=example,dc=com#0'B
105 uniqueMember: dc=example,dc=com#'0B
106 uniqueMember: dc=example,dc=com '0'B
107 description: dc=example,dc=com#0'B // malformed UID?
108 description: dc=example,dc=com#'0B // malformed UID?
109 description: dc=example,dc=com '0'B // malformed UID?
110
111 dn: cn=Must Succeed,ou=LDAPv3,dc=example,dc=com
112 objectClass: groupOfNames
113 cn: Must Succeed
114 member: cn=Must Succeed,ou=LDAPv3,dc=example,dc=com
115 member:
116 member: uid=jsmith,dc=example,dc=net
117 member: cn=J. Smith+ou=Sales,dc=example,dc=net
118 member: cn=John Smith\2C III,dc=example,dc=net
119 member: ou=Sales\3B Data\2BAlgorithms,dc=example,dc=net
120 member:: Y249QmVmb3JlDUFmdGVyLGRjPWV4YW1wbGUsZGM9bmV0
121 member: cn=\23John Smith\20,dc=example,dc=net
122 member:: Y249THXEjWnEhw==
123 seeAlso: cn=John Smith\2C III,dc=example,dc=net
124 seeAlso: ou=Sales\3B Data\2BAlgorithms,dc=example,dc=net
125 seeAlso: cn=\23John Smith\20,dc=example,dc=net
126 description: "member" values contain specific DN forms;
127 description: "seeAlso" values contain DN forms already defined as "member",
128 description: but in a different string representation;
129 description: the following "description" values contain the "member" and
130 description: "seeAlso" DN string representations used above.
131 description: ""
132 description: UID=jsmith,DC=example,DC=net
133 description: OU=Sales+CN=J. Smith,DC=example,DC=net
134 description: CN=John Smith\, III,DC=example,DC=net
135 description: CN=John Smith\2C III,DC=example,DC=net
136 description: OU=Sales\; Data\+Algorithms,DC=example,DC=net
137 description: OU=Sales\3B Data\2BAlgorithms,DC=example,DC=net
138 description: CN=Before\0dAfter,DC=example,DC=net
139 description: CN=\23John Smith\20,DC=example,DC=net
140 description: CN=\#John Smith\ ,DC=example,DC=net
141 description: CN=Lu\C4\8Di\C4\87
142
143 dn: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com
144 objectClass: groupOfUniqueNames
145 cn: Name and Optional UID
146 uniqueMember: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com
147 uniqueMember: #'1'B
148 uniqueMember: #'10'B
149 uniqueMember: dc=example,dc=com#'1000'B
150 uniqueMember: dc=example,dc=com#'0'B
151 description: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com //
152   only DN portion
153 description: #'1'B // empty "" DN
154 description: #'0010'B // empty "" DN with leading '0's
155 description: dc=example,dc=com#'1000'B // with DN portion
156 description: dc=example,dc=com#'0'B // with DN portion and just one '0'
157
158 dn: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com
159 objectClass: groupOfUniqueNames
160 cn: Name and Optional UID
161 uniqueMember: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com
162 uniqueMember: #'1'B
163 uniqueMember: #'10'B
164 uniqueMember: dc=example,dc=com#'1000'B
165 uniqueMember: dc=example,dc=com#'0'B
166 description: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com //
167   only DN portion
168 description: #'1'B // empty "" DN
169 description: #'0010'B // empty "" DN with leading '0's
170 description: dc=example,dc=com#'1000'B // with DN portion
171 description: dc=example,dc=com#'0'B // with DN portion and just one '0'
172