]> git.sur5r.net Git - openldap/blob - tests/data/dn.out
check "pretty" entryUUID; use a DN with entryUUID as naming attr in filter
[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=LDAPv3,dc=example,dc=com
9 objectClass: organizationalUnit
10 ou: LDAPv3
11 description: RFC 2253 compliant DN string representation
12
13 dn: cn=Must Succeed,ou=LDAPv3,dc=example,dc=com
14 objectClass: groupOfNames
15 cn: Must Succeed
16 member: cn=Must Succeed,ou=LDAPv3,dc=example,dc=com
17 member:
18 member: uid=jsmith,dc=example,dc=net
19 member: cn=J. Smith+ou=Sales,dc=example,dc=net
20 member: cn=John Smith\2C III,dc=example,dc=net
21 member: ou=Sales\3B Data\2BAlgorithms,dc=example,dc=net
22 member:: Y249QmVmb3JlDUFmdGVyLGRjPWV4YW1wbGUsZGM9bmV0
23 member: cn=\23John Smith\20,dc=example,dc=net
24 member:: Y249THXEjWnEhw==
25 member: testUUID=597ae2f6-16a6-1027-98f4-abcdefabcdef,dc=Example
26 seeAlso: cn=John Smith\2C III,dc=example,dc=net
27 seeAlso: ou=Sales\3B Data\2BAlgorithms,dc=example,dc=net
28 seeAlso: cn=\23John Smith\20,dc=example,dc=net
29 description: "member" values contain specific DN forms;
30 description: "seeAlso" values contain DN forms already defined as "member",
31 description: but in a different string representation;
32 description: the following "description" values contain the "member" and
33 description: "seeAlso" DN string representations used above.
34 description: ""
35 description: UID=jsmith,DC=example,DC=net
36 description: OU=Sales+CN=J. Smith,DC=example,DC=net
37 description: CN=John Smith\, III,DC=example,DC=net
38 description: CN=John Smith\2C III,DC=example,DC=net
39 description: OU=Sales\; Data\+Algorithms,DC=example,DC=net
40 description: OU=Sales\3B Data\2BAlgorithms,DC=example,DC=net
41 description: CN=Before\0dAfter,DC=example,DC=net
42 description: CN=\23John Smith\20,DC=example,DC=net
43 description: CN=\#John Smith\ ,DC=example,DC=net
44 description: CN=Lu\C4\8Di\C4\87
45 description: testUUID=597ae2f6-16a6-1027-98f4-abcdefABCDEF,DC=Example
46
47 dn: cn=Unescaped Equals,ou=LDAPv3,dc=example,dc=com
48 objectClass: groupOfNames
49 cn: Unescaped Equals
50 member: cn=Unescaped Equals,ou=LDAPv3,dc=example,dc=com
51 member: cn=A*x\3Db is a linear algebra problem,ou=LDAPv3,dc=example,dc=com
52 description: cn=A*x=b is a linear algebra problem,ou=LDAPv3,dc=example,dc=com 
53  // unescaped EQUALS
54
55 dn: ou=LDAPv2,dc=example,dc=com
56 objectClass: organizationalUnit
57 ou: LDAPv2
58 description: RFC 1779 compliant DN string representation
59
60 dn: cn=May Succeed 1,ou=LDAPv2,dc=example,dc=com
61 objectClass: groupOfNames
62 cn: May Succeed 1
63 member:
64 description: " " // space, quote characters (") are not part of the string
65
66 dn: cn=May Succeed 3,ou=LDAPv2,dc=example,dc=com
67 objectClass: groupOfNames
68 cn: May Succeed 3
69 member: uid=jsmith,o=example,c=US
70 description: UID=jsmith, O=example, C=US // spaces
71
72 dn: cn=May Succeed 4,ou=LDAPv2,dc=example,dc=com
73 objectClass: groupOfNames
74 cn: May Succeed 4
75 member: uid=jsmith,o=example,c=US
76 description: UID=jsmith;O=example;C=US // semi-colons
77
78 dn: cn=May Succeed 6,ou=LDAPv2,dc=example,dc=com
79 objectClass: groupOfNames
80 cn: May Succeed 6
81 member: cn=John Smith,o=example,c=US
82 description: CN="John Smith",O=example,C=US // quotes
83
84 dn: ou=Related Syntaxes,dc=example,dc=com
85 objectClass: organizationalUnit
86 ou: Related Syntaxes
87
88 dn: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com
89 objectClass: groupOfUniqueNames
90 cn: Name and Optional UID
91 uniqueMember: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com
92 uniqueMember: #'1'B
93 uniqueMember: #'10'B
94 uniqueMember: dc=example,dc=com#'1000'B
95 uniqueMember: dc=example,dc=com#'0'B
96 description: cn=Name and Optional UID,ou=Related Syntaxes,dc=example,dc=com //
97   only DN portion
98 description: #'1'B // empty "" DN
99 description: #'0010'B // empty "" DN with leading '0's
100 description: dc=example,dc=com#'1000'B // with DN portion
101 description: dc=example,dc=com#'0'B // with DN portion and just one '0'
102
103 dn: cn=Should Parse as DN,cn=Name and Optional UID,ou=Related Syntaxes,dc=exam
104  ple,dc=com
105 objectClass: groupOfUniqueNames
106 cn: Should Parse as DN
107 uniqueMember: dc=example,dc=com#0'B
108 uniqueMember: dc=example,dc=com#'0B
109 uniqueMember: dc=example,dc=com '0'B
110 description: dc=example,dc=com#0'B // malformed UID?
111 description: dc=example,dc=com#'0B // malformed UID?
112 description: dc=example,dc=com '0'B // malformed UID?
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