]> git.sur5r.net Git - openldap/blob - tests/data/dn.out
ITS#5265
[openldap] / tests / data / dn.out
1 # Searching database...
2 dn: dc=example,dc=com
3 objectClass: domain
4 objectClass: domainRelatedObject
5 dc: example
6 associatedDomain: example.com
7
8 dn: ou=LDAPv2,dc=example,dc=com
9 objectClass: organizationalUnit
10 ou: LDAPv2
11 description: RFC 1779 compliant DN string representation
12
13 dn: ou=LDAPv3,dc=example,dc=com
14 objectClass: organizationalUnit
15 ou: LDAPv3
16 description: RFC 2253 compliant DN string representation
17
18 dn: cn=May Succeed 1,ou=LDAPv2,dc=example,dc=com
19 objectClass: groupOfNames
20 cn: May Succeed 1
21 member:
22 description: " " // space, quote characters (") are not part of the string
23
24 dn: cn=May Succeed 3,ou=LDAPv2,dc=example,dc=com
25 objectClass: groupOfNames
26 cn: May Succeed 3
27 member: uid=jsmith,o=example,c=US
28 description: UID=jsmith, O=example, C=US // spaces
29
30 dn: cn=May Succeed 4,ou=LDAPv2,dc=example,dc=com
31 objectClass: groupOfNames
32 cn: May Succeed 4
33 member: uid=jsmith,o=example,c=US
34 description: UID=jsmith;O=example;C=US // semi-colons
35
36 dn: cn=May Succeed 6,ou=LDAPv2,dc=example,dc=com
37 objectClass: groupOfNames
38 cn: May Succeed 6
39 member: cn=John Smith,o=example,c=US
40 description: CN="John Smith",O=example,C=US // quotes
41
42 dn: cn=Must Succeed,ou=LDAPv3,dc=example,dc=com
43 objectClass: groupOfNames
44 cn: Must Succeed
45 member: cn=Must Succeed,ou=LDAPv3,dc=example,dc=com
46 member:
47 member: uid=jsmith,dc=example,dc=net
48 member: cn=J. Smith+ou=Sales,dc=example,dc=net
49 member: cn=John Smith\2C III,dc=example,dc=net
50 member: ou=Sales\3B Data\2BAlgorithms,dc=example,dc=net
51 member:: Y249QmVmb3JlDUFmdGVyLGRjPWV4YW1wbGUsZGM9bmV0
52 member: cn=\23John Smith\20,dc=example,dc=net
53 member:: Y249THXEjWnEhw==
54 member: testUUID=597ae2f6-16a6-1027-98f4-abcdefabcdef,dc=Example
55 seeAlso: cn=John Smith\2C III,dc=example,dc=net
56 seeAlso: ou=Sales\3B Data\2BAlgorithms,dc=example,dc=net
57 seeAlso: cn=\23John Smith\20,dc=example,dc=net
58 description: "member" values contain specific DN forms;
59 description: "seeAlso" values contain DN forms already defined as "member",
60 description: but in a different string representation;
61 description: the following "description" values contain the "member" and
62 description: "seeAlso" DN string representations used above.
63 description: ""
64 description: UID=jsmith,DC=example,DC=net
65 description: OU=Sales+CN=J. Smith,DC=example,DC=net
66 description: CN=John Smith\, III,DC=example,DC=net
67 description: CN=John Smith\2C III,DC=example,DC=net
68 description: OU=Sales\; Data\+Algorithms,DC=example,DC=net
69 description: OU=Sales\3B Data\2BAlgorithms,DC=example,DC=net
70 description: CN=Before\0dAfter,DC=example,DC=net
71 description: CN=\23John Smith\20,DC=example,DC=net
72 description: CN=\#John Smith\ ,DC=example,DC=net
73 description: CN=Lu\C4\8Di\C4\87
74 description: testUUID=597ae2f6-16a6-1027-98f4-abcdefABCDEF,DC=Example
75
76 dn: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com
77 objectClass: groupOfUniqueNames
78 cn: Name and Optional UID
79 uniqueMember: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com
80 uniqueMember: #'1'B
81 uniqueMember: #'10'B
82 uniqueMember: dc=example,dc=com#'1000'B
83 uniqueMember: dc=example,dc=com#'0'B
84 description: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com //
85   only DN portion
86 description: #'1'B // empty "" DN
87 description: #'0010'B // empty "" DN with leading '0's
88 description: dc=example,dc=com#'1000'B // with DN portion
89 description: dc=example,dc=com#'0'B // with DN portion and just one '0'
90
91 dn: ou=Related Syntaxes,dc=example,dc=com
92 objectClass: organizationalUnit
93 ou: Related Syntaxes
94
95 dn: cn=Should Parse as DN,cn=Name and Optional UID,ou=Related Syntaxes,dc=exam
96  ple,dc=com
97 objectClass: groupOfUniqueNames
98 cn: Should Parse as DN
99 uniqueMember: dc=example,dc=com#0'B
100 uniqueMember: dc=example,dc=com#'0B
101 uniqueMember: dc=example,dc=com '0'B
102 description: dc=example,dc=com#0'B // malformed UID?
103 description: dc=example,dc=com#'0B // malformed UID?
104 description: dc=example,dc=com '0'B // malformed UID?
105
106 dn: cn=Unescaped Equals,ou=LDAPv3,dc=example,dc=com
107 objectClass: groupOfNames
108 cn: Unescaped Equals
109 member: cn=Unescaped Equals,ou=LDAPv3,dc=example,dc=com
110 member: cn=A*x\3Db is a linear algebra problem,ou=LDAPv3,dc=example,dc=com
111 description: cn=A*x=b is a linear algebra problem,ou=LDAPv3,dc=example,dc=com 
112  // unescaped EQUALS
113
114 # Searching database for DN="OU=Sales+CN=J. Smith,DC=example,DC=net"...
115 dn: cn=Must Succeed,ou=LDAPv3,dc=example,dc=com
116 objectClass: groupOfNames
117 cn: Must Succeed
118 member: cn=Must Succeed,ou=LDAPv3,dc=example,dc=com
119 member:
120 member: uid=jsmith,dc=example,dc=net
121 member: cn=J. Smith+ou=Sales,dc=example,dc=net
122 member: cn=John Smith\2C III,dc=example,dc=net
123 member: ou=Sales\3B Data\2BAlgorithms,dc=example,dc=net
124 member:: Y249QmVmb3JlDUFmdGVyLGRjPWV4YW1wbGUsZGM9bmV0
125 member: cn=\23John Smith\20,dc=example,dc=net
126 member:: Y249THXEjWnEhw==
127 member: testUUID=597ae2f6-16a6-1027-98f4-abcdefabcdef,dc=Example
128 seeAlso: cn=John Smith\2C III,dc=example,dc=net
129 seeAlso: ou=Sales\3B Data\2BAlgorithms,dc=example,dc=net
130 seeAlso: cn=\23John Smith\20,dc=example,dc=net
131 description: "member" values contain specific DN forms;
132 description: "seeAlso" values contain DN forms already defined as "member",
133 description: but in a different string representation;
134 description: the following "description" values contain the "member" and
135 description: "seeAlso" DN string representations used above.
136 description: ""
137 description: UID=jsmith,DC=example,DC=net
138 description: OU=Sales+CN=J. Smith,DC=example,DC=net
139 description: CN=John Smith\, III,DC=example,DC=net
140 description: CN=John Smith\2C III,DC=example,DC=net
141 description: OU=Sales\; Data\+Algorithms,DC=example,DC=net
142 description: OU=Sales\3B Data\2BAlgorithms,DC=example,DC=net
143 description: CN=Before\0dAfter,DC=example,DC=net
144 description: CN=\23John Smith\20,DC=example,DC=net
145 description: CN=\#John Smith\ ,DC=example,DC=net
146 description: CN=Lu\C4\8Di\C4\87
147 description: testUUID=597ae2f6-16a6-1027-98f4-abcdefABCDEF,DC=Example
148
149 # Searching database for entryUUID-named DN="testUUID=597ae2f6-16a6-1027-98f4-ABCDEFabcdef,DC=Example"...
150 dn: cn=Must Succeed,ou=LDAPv3,dc=example,dc=com
151 objectClass: groupOfNames
152 cn: Must Succeed
153 member: cn=Must Succeed,ou=LDAPv3,dc=example,dc=com
154 member:
155 member: uid=jsmith,dc=example,dc=net
156 member: cn=J. Smith+ou=Sales,dc=example,dc=net
157 member: cn=John Smith\2C III,dc=example,dc=net
158 member: ou=Sales\3B Data\2BAlgorithms,dc=example,dc=net
159 member:: Y249QmVmb3JlDUFmdGVyLGRjPWV4YW1wbGUsZGM9bmV0
160 member: cn=\23John Smith\20,dc=example,dc=net
161 member:: Y249THXEjWnEhw==
162 member: testUUID=597ae2f6-16a6-1027-98f4-abcdefabcdef,dc=Example
163 seeAlso: cn=John Smith\2C III,dc=example,dc=net
164 seeAlso: ou=Sales\3B Data\2BAlgorithms,dc=example,dc=net
165 seeAlso: cn=\23John Smith\20,dc=example,dc=net
166 description: "member" values contain specific DN forms;
167 description: "seeAlso" values contain DN forms already defined as "member",
168 description: but in a different string representation;
169 description: the following "description" values contain the "member" and
170 description: "seeAlso" DN string representations used above.
171 description: ""
172 description: UID=jsmith,DC=example,DC=net
173 description: OU=Sales+CN=J. Smith,DC=example,DC=net
174 description: CN=John Smith\, III,DC=example,DC=net
175 description: CN=John Smith\2C III,DC=example,DC=net
176 description: OU=Sales\; Data\+Algorithms,DC=example,DC=net
177 description: OU=Sales\3B Data\2BAlgorithms,DC=example,DC=net
178 description: CN=Before\0dAfter,DC=example,DC=net
179 description: CN=\23John Smith\20,DC=example,DC=net
180 description: CN=\#John Smith\ ,DC=example,DC=net
181 description: CN=Lu\C4\8Di\C4\87
182 description: testUUID=597ae2f6-16a6-1027-98f4-abcdefABCDEF,DC=Example
183
184 # Searching database for nameAndOptionalUID="dc=example,dc=com"...
185 # Searching database for nameAndOptionalUID="dc=example,dc=com#'001000'B"...
186 dn: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com
187 objectClass: groupOfUniqueNames
188 cn: Name and Optional UID
189 uniqueMember: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com
190 uniqueMember: #'1'B
191 uniqueMember: #'10'B
192 uniqueMember: dc=example,dc=com#'1000'B
193 uniqueMember: dc=example,dc=com#'0'B
194 description: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com //
195   only DN portion
196 description: #'1'B // empty "" DN
197 description: #'0010'B // empty "" DN with leading '0's
198 description: dc=example,dc=com#'1000'B // with DN portion
199 description: dc=example,dc=com#'0'B // with DN portion and just one '0'
200
201 # Searching database for uniqueMember~="dc=example,dc=com" (approx)...
202 dn: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com
203 objectClass: groupOfUniqueNames
204 cn: Name and Optional UID
205 uniqueMember: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com
206 uniqueMember: #'1'B
207 uniqueMember: #'10'B
208 uniqueMember: dc=example,dc=com#'1000'B
209 uniqueMember: dc=example,dc=com#'0'B
210 description: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com //
211   only DN portion
212 description: #'1'B // empty "" DN
213 description: #'0010'B // empty "" DN with leading '0's
214 description: dc=example,dc=com#'1000'B // with DN portion
215 description: dc=example,dc=com#'0'B // with DN portion and just one '0'
216
217 # Searching database for uniqueMember~="dc=example,dc=com#'001000'B" (approx)...
218 dn: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com
219 objectClass: groupOfUniqueNames
220 cn: Name and Optional UID
221 uniqueMember: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com
222 uniqueMember: #'1'B
223 uniqueMember: #'10'B
224 uniqueMember: dc=example,dc=com#'1000'B
225 uniqueMember: dc=example,dc=com#'0'B
226 description: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com //
227   only DN portion
228 description: #'1'B // empty "" DN
229 description: #'0010'B // empty "" DN with leading '0's
230 description: dc=example,dc=com#'1000'B // with DN portion
231 description: dc=example,dc=com#'0'B // with DN portion and just one '0'
232