1# Query 1: filter:(sn=Jon) attrs:all (expect nothing)
2# Query 2: filter:(|(cn=*Jon*)(sn=Jon*)) attrs:cn sn title uid
3dn: cn=James A Jones 1,ou=Alumni Association,ou=People,dc=example,dc=com
4cn: James A Jones 1
5cn: James Jones
6cn: Jim Jones
7sn: Jones
8uid: jaj
9title: Mad Cow Researcher, UM Alumni Association
10
11dn: cn=James A Jones 2,ou=Information Technology Division,ou=People,dc=example
12 ,dc=com
13cn: James A Jones 2
14cn: James Jones
15cn: Jim Jones
16sn: Doe
17uid: jjones
18title: Senior Manager, Information Technology Division
19
20dn: cn=John Doe,ou=Information Technology Division,ou=People,dc=example,dc=com
21cn: John Doe
22cn: Jonathon Doe
23sn: Doe
24uid: johnd
25title: System Administrator, Information Technology Division
26
27# Query 3: filter:(sn=Smith*) attrs:cn sn uid
28dn: cn=Jennifer Smith,ou=Alumni Association,ou=People,dc=example,dc=com
29cn: Jennifer Smith
30cn: Jen Smith
31sn: Smith
32uid: jen
33
34# Query 4: filter:(sn=Doe*) attrs:cn sn title uid
35dn: cn=James A Jones 2,ou=Information Technology Division,ou=People,dc=example
36 ,dc=com
37cn: James A Jones 2
38cn: James Jones
39cn: Jim Jones
40sn: Doe
41uid: jjones
42title: Senior Manager, Information Technology Division
43
44dn: cn=Jane Doe,ou=Alumni Association,ou=People,dc=example,dc=com
45cn: Jane Doe
46cn: Jane Alverson
47sn: Doe
48uid: jdoe
49title: Programmer Analyst, UM Alumni Association
50
51dn: cn=John Doe,ou=Information Technology Division,ou=People,dc=example,dc=com
52cn: John Doe
53cn: Jonathon Doe
54sn: Doe
55uid: johnd
56title: System Administrator, Information Technology Division
57
58# Query 5: filter:(uid=johnd) attrs:mail postaladdress telephonenumber cn uid
59dn: cn=John Doe,ou=Information Technology Division,ou=People,dc=example,dc=com
60cn: John Doe
61cn: Jonathon Doe
62uid: johnd
63postalAddress: ITD $ 535 W. William $ Anytown, MI 48109
64mail: johnd@mailgw.example.com
65telephoneNumber: +1 313 555 9394
66
67# Query 6: filter:(mail=*@mail.alumni.example.com) attrs:cn sn title uid
68dn: cn=Dorothy Stevens,ou=Alumni Association,ou=People,dc=example,dc=com
69cn: Dorothy Stevens
70cn: Dot Stevens
71sn: Stevens
72uid: dots
73title: Secretary, UM Alumni Association
74
75dn: cn=James A Jones 1,ou=Alumni Association,ou=People,dc=example,dc=com
76cn: James A Jones 1
77cn: James Jones
78cn: Jim Jones
79sn: Jones
80uid: jaj
81title: Mad Cow Researcher, UM Alumni Association
82
83dn: cn=Jennifer Smith,ou=Alumni Association,ou=People,dc=example,dc=com
84cn: Jennifer Smith
85cn: Jen Smith
86sn: Smith
87uid: jen
88title: Telemarketer, UM Alumni Association
89
90dn: cn=Mark Elliot,ou=Alumni Association,ou=People,dc=example,dc=com
91cn: Mark Elliot
92cn: Mark A Elliot
93sn: Elliot
94uid: melliot
95title: Director, UM Alumni Association
96
97dn: cn=Ursula Hampster,ou=Alumni Association,ou=People,dc=example,dc=com
98cn: Ursula Hampster
99sn: Hampster
100uid: uham
101title: Secretary, UM Alumni Association
102
103# Query 7: filter:(mail=*) attrs:cn sn title uid
104dn: cn=Barbara Jensen,ou=Information Technology Division,ou=People,dc=example,
105 dc=com
106cn: Barbara Jensen
107cn: Babs Jensen
108sn:: IEplbnNlbiA=
109uid: bjensen
110title: Mythical Manager, Research Systems
111
112dn: cn=Bjorn Jensen,ou=Information Technology Division,ou=People,dc=example,dc
113 =com
114cn: Bjorn Jensen
115cn: Biiff Jensen
116sn: Jensen
117uid: bjorn
118title: Director, Embedded Systems
119
120dn: cn=Dorothy Stevens,ou=Alumni Association,ou=People,dc=example,dc=com
121cn: Dorothy Stevens
122cn: Dot Stevens
123sn: Stevens
124uid: dots
125title: Secretary, UM Alumni Association
126
127dn: cn=James A Jones 1,ou=Alumni Association,ou=People,dc=example,dc=com
128cn: James A Jones 1
129cn: James Jones
130cn: Jim Jones
131sn: Jones
132uid: jaj
133title: Mad Cow Researcher, UM Alumni Association
134
135dn: cn=James A Jones 2,ou=Information Technology Division,ou=People,dc=example
136 ,dc=com
137cn: James A Jones 2
138cn: James Jones
139cn: Jim Jones
140sn: Doe
141uid: jjones
142title: Senior Manager, Information Technology Division
143
144dn: cn=Jane Doe,ou=Alumni Association,ou=People,dc=example,dc=com
145cn: Jane Doe
146cn: Jane Alverson
147sn: Doe
148uid: jdoe
149title: Programmer Analyst, UM Alumni Association
150
151dn: cn=Jennifer Smith,ou=Alumni Association,ou=People,dc=example,dc=com
152cn: Jennifer Smith
153cn: Jen Smith
154sn: Smith
155uid: jen
156title: Telemarketer, UM Alumni Association
157
158dn: cn=John Doe,ou=Information Technology Division,ou=People,dc=example,dc=com
159cn: John Doe
160cn: Jonathon Doe
161sn: Doe
162uid: johnd
163title: System Administrator, Information Technology Division
164
165dn: cn=Mark Elliot,ou=Alumni Association,ou=People,dc=example,dc=com
166cn: Mark Elliot
167cn: Mark A Elliot
168sn: Elliot
169uid: melliot
170title: Director, UM Alumni Association
171
172dn: cn=Ursula Hampster,ou=Alumni Association,ou=People,dc=example,dc=com
173cn: Ursula Hampster
174sn: Hampster
175uid: uham
176title: Secretary, UM Alumni Association
177
178# Query 8: filter:(mail=*example.com) attrs:cn sn title uid
179dn: cn=Barbara Jensen,ou=Information Technology Division,ou=People,dc=example,
180 dc=com
181cn: Barbara Jensen
182cn: Babs Jensen
183sn:: IEplbnNlbiA=
184uid: bjensen
185title: Mythical Manager, Research Systems
186
187# Query 9: filter:(uid=b*) attrs:mail
188dn: cn=Barbara Jensen,ou=Information Technology Division,ou=People,dc=example,
189 dc=com
190mail: bjensen@mailgw.example.com
191
192# Query 10: filter:(|(cn=All Staff)(sn=All Staff)) attrs:sn cn title uid undefinedAttr
193dn: cn=All Staff,ou=Groups,dc=example,dc=com
194cn: All Staff
195
196# Query 11: filter:(|(cn=*Jones)(sn=Jones)) attrs:cn sn title uid
197dn: cn=James A Jones 1,ou=Alumni Association,ou=People,dc=example,dc=com
198cn: James A Jones 1
199cn: James Jones
200cn: Jim Jones
201sn: Jones
202uid: jaj
203title: Mad Cow Researcher, UM Alumni Association
204
205dn: cn=James A Jones 2,ou=Information Technology Division,ou=People,dc=example
206 ,dc=com
207cn: James A Jones 2
208cn: James Jones
209cn: Jim Jones
210sn: Doe
211uid: jjones
212title: Senior Manager, Information Technology Division
213
214# Query 12: filter:(sn=Smith) attrs:cn sn title uid
215dn: cn=Jennifer Smith,ou=Alumni Association,ou=People,dc=example,dc=com
216cn: Jennifer Smith
217cn: Jen Smith
218sn: Smith
219uid: jen
220title: Telemarketer, UM Alumni Association
221
222# Query 13: filter:(uid=bjorn) attrs:mail postaladdress telephonenumber cn uid
223dn: cn=Bjorn Jensen,ou=Information Technology Division,ou=People,dc=example,dc
224 =com
225cn: Bjorn Jensen
226cn: Biiff Jensen
227uid: bjorn
228postalAddress: Info Tech Division $ 535 W. William St. $ Anytown, MI 48103
229mail: bjorn@mailgw.example.com
230telephoneNumber: +1 313 555 0355
231
232# Query 14: filter:(mail=jaj@mail.alumni.example.com) attrs:cn sn title uid
233dn: cn=James A Jones 1,ou=Alumni Association,ou=People,dc=example,dc=com
234cn: James A Jones 1
235cn: James Jones
236cn: Jim Jones
237sn: Jones
238uid: jaj
239title: Mad Cow Researcher, UM Alumni Association
240
241# Query 15: filter:(mail=*example.com) attrs:cn sn title uid
242dn: cn=Barbara Jensen,ou=Information Technology Division,ou=People,dc=example,
243 dc=com
244cn: Barbara Jensen
245cn: Babs Jensen
246sn:: IEplbnNlbiA=
247uid: bjensen
248title: Mythical Manager, Research Systems
249
250# Query 16: filter:(uid=b*) attrs:mail
251dn: cn=Barbara Jensen,ou=Information Technology Division,ou=People,dc=example,
252 dc=com
253mail: bjensen@mailgw.example.com
254
255# Query 17: filter:(|(cn=All Staff)(sn=All Staff)) attrs:sn cn title uid undefinedAttr
256dn: cn=All Staff,ou=Groups,dc=example,dc=com
257cn: All Staff
258
259