summaryrefslogtreecommitdiff
path: root/ldap/disptmpl.cfg
blob: f08e3b2757123a2aad34bc6bac213ffe60b3d333 (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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
##########################################################################
# LDAP display templates
##########################################################################

#
# Version must be 1
#
Version 1

##########################################################################
# U-M Person template
##########################################################################
#
# template name and plural name come first
"U-M Person"
"U-M People"

# name of the icon that is associated with this template
"person icon"

# blank-separated list of template options ("" for none)
#   addable	- end-user should be allowed to add these types of entries
#   modrdn	- end-user can change the name of these entries
#   altview	- this template is referred to in another template's
#			"linkact" item
"addable"

#
# objectclass list
umichPerson person
END

#
# name of attribute to authenticate as ("" means auth as this entry)
""

#
# default attribute name to use when forming RDN of a new entry
#
cn

#
# default location when adding new entries (DN; "" means no default)
"o=University of Michigan, c=US"

#
# rules used to define default values for new entries
END

#
#
# list of items for display
# each line is either:
#    item (type) (attribute) (attr name) (extra args...)
# to define an item or
#    samerow
# to keep the next item on the same row as the previous
#
# valid types are:
#    cis	- case ignore string
#    mls	- multiline string
#    dn		- 
#    mail	- case ignore string that contains an RFC822 mail address
#    bool	- boolean value
#    jpeg	- inlined JPEG image
#    jpegbtn	- JPEG image button
#    fax	- inlined Fax image
#    faxbtn	- Fax image button
#    audiobtn	- audio button
#    time	- time value
#    date	- time value displayed as a date only
#    url	- labeled URL for links to items in WWW
#    searchact  - search action
#    linkact    - link to another template
#
# valid options (comma separated list appended to the type) are:
#  ro		- attribute is read only; don't let user edit it
#  sort		- order the values of this attribute
#  1val		- disallow entry of multiple values
#  required	- this attribute should have at least one value
#  hide		- don't show this item if attribute has no values
#  hideiffalse	- hide item if value is FALSE (for type 'bool' only)
#
item jpegbtn	"View Photo"		jpegPhoto	"Next Photo"
item audiobtn	"Play Sound"		audio
item cis,ro,sort	"Also Known As"		cn
item mail	"E-Mail Address"	mail
item cis	"Work Phone"		telephoneNumber
item cis	"Fax Number"		facsimileTelephoneNumber
item cis	"Pager Number"		pager
item mls	"Work Address"		postalAddress
item cis,sort	"Title"			title
item cis,ro	"Uniqname"		uid
item mls	"Description"		multiLineDescription
item cis	"Home Phone"		homePhone
item mls	"Home Address"		homePostalAddress
item url	"More Info (URL)"	labeledURL
item dn,sort	"See Also"		seeAlso
item cis	"Favorite Beverage"	drink
item cis	"Notice"		notice
item bool,hideiffalse	"On Vacation"		onVacation
item mls,1val	"Vacation Message"	vacationMessage
item bool,hideiffalse	"Do Not Allow Updates"	noBatchUpdates
item time,ro	"Last Modified"		lastModifiedTime
item dn,ro	"Modified By"		lastModifiedBy
item searchact  "Find Groups Added To"  ""      "-dnt" "(&(objectclass=rfc822mailgroup)(member=%v))" "multiLineDescription" "Description" ""
item searchact	"List Owned Groups"	""	"-dnt" "(&(objectclass=rfc822mailgroup)(owner=%v))" "title" "Title" ""
item linkact	"Other Addresses"	""	"other addresses"
END


##########################################################################
# Person template
##########################################################################
"Person"
"People"
"person icon"

# template options
addable
#
# objectclass list
person
END
# name of attribute to authenticate as
""

# default attribute name to use when forming RDN of a new entry
#
cn

# default location when adding new entries
""

#
# rules used to define default values for new entries
END

#
# list of items for display
item jpegbtn	"View Photo"		jpegPhoto	"Next Photo"
item audiobtn	"Play Sound"		audio
item cis,sort	"Also Known As"		cn
item cis,sort	"Title"			title
item mls	"Work Address"		postalAddress
item cis	"Work Phone"		telephoneNumber
item cis	"Fax Number"		facsimileTelephoneNumber
item cis	"Pager Number"		pager
item mls	"Home Address"		homePostalAddress
item cis	"Home Phone"		homePhone
item cis	"User ID"		uid
item mail	"E-Mail Address"	mail
item cis	"Description"		description
item cis	"Favorite Beverage"	drink
item dn,sort	"See Also"		seeAlso
item time,ro	"Last Modified"		lastModifiedTime
item dn,ro	"Modified By"		lastModifiedBy
END


##########################################################################
# Group template
##########################################################################
"Group"
"Groups"
"group icon"

# template options
addable modrdn

# objectclass list
rfc822MailGroup
END

# name of attribute to authenticate as
"owner"

# default attribute name to use when forming RDN of a new entry
#
cn

# default location when adding new entries
"ou=User Groups, ou=Groups, o=University of Michigan, c=US"

#
# rules used to define default values for new entries
constant	"associatedDomain"	"umich.edu"
constant	"joinable"		"FALSE"
addersdn	"owner"
addersdn	"member"
addersdn	"errorsTo"
addersdn	"requestsTo"
END

#
#
# list of items for display
# each line is either:
#    item (type) (attribute) (attr name) (extra args...)
# to define an item or
#    samerow
#
# list of items for display
item cis,sort	"Also Known As"		cn
item mls	"Description"		multiLineDescription
item cis	"Phone Number"		telephoneNumber
item cis	"Fax Number"		facsimileTelephoneNumber
item mls	"Address"		postalAddress
item dn,required,sort	"Owner"		owner
item url	"More Info (URL)"	labeledURL
item dn,sort	"See Also"		seeAlso
item dn,sort	"Errors To"		errorsTo
item dn,sort	"Requests To"		requestsTo
item cis	"Associated Domain"	associatedDomain
item cis	"Moderator"		moderator
item bool	"Suppress 'No E-Mail Address' Errors"	suppressNoEmailError
item bool	"Others May Join"	joinable
item dn,sort	"X.500 Members"		member
item mail,sort	"E-Mail Errors To"	rfc822ErrorsTo
item mail,sort	"E-Mail Requests To"	rfc822RequestsTo
item mail,sort	"E-Mail Members"	mail
item cis	"Notice"		notice
item time,ro	"Last Modified"		lastModifiedTime
item dn,ro	"Modified By"		lastModifiedBy
item searchact  "Subscribers"           "" "-dnt" "memberOfGroup=%v" "title" "Title" "joinable"
item verifyact	"Verify Members"	"member"	"mail" "E-Mail Address"
END

##########################################################################
# Organization template
##########################################################################
"Organization"
"Organizations"
"organization icon"

# template options
""

# objectclass list
organization
END

# name of attribute to authenticate as
""

# default attribute name to use when forming RDN of a new entry
o

# default location when adding new entries
""

# rules used to define default values for new entries
constant	"o"	"foo"
END

#
#
# list of items for display
# each line is either:
#    item (type) (attribute) (attr name) (extra args...)
# to define an item or
#    samerow
#
# list of items for display
item cis,sort	"Name"			o
item cis	"Location"		l
item mls	"Address"		postalAddress
item cis	"Phone Number"		telephoneNumber
item cis	"Fax Number"		facsimileTelephoneNumber
item cis	"Description"		description
item dn,sort	"See Also"		seeAlso
item time,ro	"Last Modified"		lastModifiedTime
item dn,ro	"Modified By"		lastModifiedBy
END


##########################################################################
# Service template
##########################################################################
"Service"
"Services"
"service icon"

# template options
"addable"

# objectclass list
service
END

# name of attribute to authenticate as
"owner"

# default attribute name to use when forming RDN of a new entry
cn

# default location when adding new entries
"ou=Services, o=University of Michigan, c=US"

# rules used to define default values for new entries
addersdn	"owner"
END

#
#
# list of items for display
# each line is either:
#    item (type) (attribute) (attr name) (extra args...)
# to define an item or
#    samerow
#
# list of items for display
item jpegbtn	"View Photo"		jpegPhoto
item cis,sort	"Name"			cn
item mls	"Description"		multilineDescription
item cis	"Provider"		provider
item cis,sort	"Service Area"		serviceArea
item mail	"E-mail Address"	mail
item cis	"Phone"			telephoneNumber
item cis	"Fax Number"		facsimileTelephoneNumber
item mls	"Postal Address"	postalAddress
item cis	"Hours"			hoursOfOperation
item url	"More Info (URL)"	labeledURL
item dn,sort	"Depends On"		dependentUpon
item dn,sort	"See Also"		seeAlso
item cis,sort	"Platform"		platform
item cis,sort	"Product"		product
item cis,sort	"Keywords"		keywords
item cis	"FCE Rating"		serviceRating
item date	"Date Rated"		ratingTime
item mls	"Rating Description"	ratingDescription
item time,ro	"Last Modified"		lastModifiedTime
item dn,ro	"Modified By"		lastModifiedBy
item dn,required,sort	"Owner"		owner
END


##########################################################################
# Organizational Role template
##########################################################################
"Organizational Role"
"Organizational Roles"
"person icon"

# template options
""

# objectclass list
organizationalRole
END

# name of attribute to authenticate as
""

# default attribute name to use when forming RDN of a new entry
cn

# default location when adding new entries
""

# rules used to define default values for new entries
END

#
#
# list of items for display
# each line is either:
#    item (type) (attribute) (attr name) (extra args...)
# to define an item or
#    samerow
#
# list of items for display
item cis,sort	"Name"			cn
item cis	"Description"		description
item dn		"Role Occupant"		roleOccupant
item dn,sort	"See Also"		seeAlso
item time,ro	"Last Modified"		lastModifiedTime
item dn,ro	"Modified By"		lastModifiedBy
END


##########################################################################
# Organizational Unit template
##########################################################################
"Organizational Unit"
"Organizational Units"
"organization icon"

# template options
""

# objectclass list
organizationalUnit
END

# name of attribute to authenticate as
""

# default attribute name to use when forming RDN of a new entry
cn

# default location when adding new entries
""

# rules used to define default values for new entries
END

# Item list
item cis	"Organization Unit Name"	ou
item cis	"Title"				title
item time,ro	"Last Modified"		lastModifiedTime
item dn,ro	"Modified By"		lastModifiedBy
END



##########################################################################
# Application Entity template
##########################################################################
"Application Entity"
"Application Entities"
"application icon"

# template options
""

# objectclass list
applicationEntity
END

# name of attribute to authenticate as
""

# default attribute name to use when forming RDN of a new entry
cn

# default location when adding new entries
""

# rules used to define default values for new entries
END

# Item list
item cis,sort	"Name"			cn
item cis	"Location"		l
item cis	"Description"		description
item time,ro	"Last Modified"		lastModifiedTime
item dn,ro	"Modified By"		lastModifiedBy
END

##########################################################################
# Document template
##########################################################################
"Document"
"Documents"
"document icon"

# template options
""

# objectclass list
document
umichDocument
END

# name of attribute to authenticate as
""

# default attribute name to use when forming RDN of a new entry
cn

# default location when adding new entries
""

# rules used to define default values for new entries
END

#
# Item list
item cis	"Document ID"		documentIdentifier
item cis	"Title"			documentTitle
item cis	"Series Title"		documentSeriesTitle
item cis	"Version"		documentVersion
item cis,sort	"Service Area"		serviceArea
item mls	"Abstract"		multiLineAbstract
item url	"More Info (URL)"	labeledURL
item dn,sort	"Availability"		documentAvailable
item dn,sort	"See Also"		seeAlso
item cis,sort	"Platform"		platform
item cis,sort	"Product"		product
item cis,sort	"Keyword"		keywords
item dn,sort	"Author"		documentAuthor
item time,ro	"Last Modified"		lastModifiedTime
item dn,ro	"Modified By"		lastModifiedBy
item dn,required	"Owner"		owner
END

##########################################################################
# Document description template
##########################################################################
"DocumentDescription"
"DocumentDescriptions"
"document description icon"

# template options
""

# objectclass list
documentDescription
END

# name of attribute to authenticate as
""

# default attribute name to use when forming RDN of a new entry
cn

# default location when adding new entries
""

# rules used to define default values for new entries
END

#
# Item list
item mls	"Description"		multilineDescription
item url	"More Info (URL)"	labeledURL
item time,ro	"Last Modified"		lastModifiedTime
item dn,ro	"Modified By"		lastModifiedBy
item dn,required	"Owner"		owner
END

##########################################################################
# Image template
##########################################################################
"Image"
"Images"
"image icon"

# template options
""

# objectclass list
image
END

# name of attribute to authenticate as
""

# default attribute name to use when forming RDN of a new entry
cn

# default location when adding new entries
""

# rules used to define default values for new entries
END

#
# Item list
item cis	"Name"			cn
item mls	"Description"		multilineDescription
item jpegbtn	"View Photo(s)"		jpegPhoto
item cis	"Citation"		citation
item cis	"Copyright"		copyright
item cis	"Keywords"		keywords
item time,ro	"Last Modified"		lastModifiedTime
item dn,ro	"Modified By"		lastModifiedBy
item dn,required	"Owner"		owner
END



##########################################################################
# Country template
##########################################################################
"Country"
"Countries"
"country icon"

# template options
""

# objectclass list
friendlyCountry
END

# name of attribute to authenticate as
""

# default attribute name to use when forming RDN of a new entry
c

# default location when adding new entries
""

# rules used to define default values for new entries
END

# Item list
item cis	"Country Name"		co
item cis	"Country Code"		c
item cis	"Description"		description
item time,ro	"Last Modified"		lastModifiedTime
item dn,ro	"Modified By"		lastModifiedBy
END

##########################################################################
# Locality template
##########################################################################
"Locality"
"Localities"
"locality icon"

# template options
""

# objectclass list
locality
END

# name of attribute to authenticate as
""

# default attribute name to use when forming RDN of a new entry
l

# default location when adding new entries
""

# rules used to define default values for new entries
END

#
# Item list
item cis	"Name" 			l
item time,ro	"Last Modified"		lastModifiedTime
item dn,ro	"Modified By"		lastModifiedBy
END


##########################################################################
# "Other Addresses" template
##########################################################################
"Others Addresses"
"Other Addresses"
"other addr icon"

# template options
"altview"

# objectclass list
END

# name of attribute to authenticate as
""

# default attribute name to use when forming RDN of a new entry
""

# default location when adding new entries
""

# rules used to define default values for new entries
END

# Item list
item cis	"Street Address"	streetAddress
item cis	"Locality"		l
item cis	"State or Province"	st
item cis	"Postal Code"		postalCode
item cis,hide	"X.400 Address"		mhsORAddresses
item cis,hide	"X.400 Address"		textEncodedORAddress
Item cis	"Other Mailbox"		otherMailbox
item time,ro	"Last Modified"		lastModifiedTime
item dn,ro	"Modified By"		lastModifiedBy
END