1/* 2 * 3 * Portions Copyright 1998 Sun Microsystems, Inc. All rights reserved. 4 * Use is subject to license terms. 5 * 6 */ 7#pragma ident "%Z%%M% %I% %E% SMI" 8########################################################################## 9# LDAP display templates 10########################################################################## 11 12# 13# Version must be 1 14# 15Version 1 16 17########################################################################## 18# U-M Person template 19########################################################################## 20# 21# template name and plural name come first 22"U-M Person" 23"U-M People" 24 25# name of the icon that is associated with this template 26"person icon" 27 28# blank-separated list of template options ("" for none) 29# addable - end-user should be allowed to add these types of entries 30# modrdn - end-user can change the name of these entries 31# altview - this template is referred to in another template's 32# "linkact" item 33"addable" 34 35# 36# objectclass list 37umichPerson person 38END 39 40# 41# name of attribute to authenticate as ("" means auth as this entry) 42"" 43 44# 45# default attribute name to use when forming RDN of a new entry 46# 47cn 48 49# 50# default location when adding new entries (DN; "" means no default) 51"o=University of Michigan, c=US" 52 53# 54# rules used to define default values for new entries 55END 56 57# 58# 59# list of items for display 60# each line is either: 61# item (type) (attribute) (attr name) (extra args...) 62# to define an item or 63# samerow 64# to keep the next item on the same row as the previous 65# 66# valid types are: 67# cis - case ignore string 68# mls - multiline string 69# dn - 70# mail - case ignore string that contains an RFC822 mail address 71# bool - boolean value 72# jpeg - inlined JPEG image 73# jpegbtn - JPEG image button 74# fax - inlined Fax image 75# faxbtn - Fax image button 76# audiobtn - audio button 77# time - time value 78# date - time value displayed as a date only 79# url - labeled URL for links to items in WWW 80# searchact - search action 81# linkact - link to another template 82# 83# valid options (comma separated list appended to the type) are: 84# ro - attribute is read only; don't let user edit it 85# sort - order the values of this attribute 86# 1val - disallow entry of multiple values 87# required - this attribute should have at least one value 88# hide - don't show this item if attribute has no values 89# hideiffalse - hide item if value is FALSE (for type 'bool' only) 90# 91item jpegbtn "View Photo" jpegPhoto "Next Photo" 92item audiobtn "Play Sound" audio 93item cis,ro,sort "Also Known As" cn 94item mail "E-Mail Address" mail 95item cis "Work Phone" telephoneNumber 96item cis "Fax Number" facsimileTelephoneNumber 97item cis "Pager Number" pager 98item mls "Work Address" postalAddress 99item cis,sort "Title" title 100item cis,ro "Uniqname" uid 101item mls "Description" multiLineDescription 102item cis "Home Phone" homePhone 103item mls "Home Address" homePostalAddress 104item url "More Info (URL)" labeledURL 105item dn,sort "See Also" seeAlso 106item cis "Favorite Beverage" drink 107item cis "Notice" notice 108item bool,hideiffalse "On Vacation" onVacation 109item mls,1val "Vacation Message" vacationMessage 110item bool,hideiffalse "Do Not Allow Updates" noBatchUpdates 111item time,ro "Last Modified" lastModifiedTime 112item dn,ro "Modified By" lastModifiedBy 113item searchact "Find Groups Added To" "" "-dnt" "(&(objectclass=rfc822mailgroup)(member=%v))" "multiLineDescription" "Description" "" 114item searchact "List Owned Groups" "" "-dnt" "(&(objectclass=rfc822mailgroup)(owner=%v))" "title" "Title" "" 115item linkact "Other Addresses" "" "other addresses" 116END 117 118 119########################################################################## 120# Person template 121########################################################################## 122"Person" 123"People" 124"person icon" 125 126# template options 127addable 128# 129# objectclass list 130person 131END 132# name of attribute to authenticate as 133"" 134 135# default attribute name to use when forming RDN of a new entry 136# 137cn 138 139# default location when adding new entries 140"" 141 142# 143# rules used to define default values for new entries 144END 145 146# 147# list of items for display 148item jpegbtn "View Photo" jpegPhoto "Next Photo" 149item audiobtn "Play Sound" audio 150item cis,sort "Also Known As" cn 151item cis,sort "Title" title 152item mls "Work Address" postalAddress 153item cis "Work Phone" telephoneNumber 154item cis "Fax Number" facsimileTelephoneNumber 155item cis "Pager Number" pager 156item mls "Home Address" homePostalAddress 157item cis "Home Phone" homePhone 158item cis "User ID" uid 159item mail "E-Mail Address" mail 160item cis "Description" description 161item cis "Favorite Beverage" drink 162item dn,sort "See Also" seeAlso 163item time,ro "Last Modified" lastModifiedTime 164item dn,ro "Modified By" lastModifiedBy 165END 166 167 168########################################################################## 169# Group template 170########################################################################## 171"Group" 172"Groups" 173"group icon" 174 175# template options 176addable modrdn 177 178# objectclass list 179rfc822MailGroup 180END 181 182# name of attribute to authenticate as 183"owner" 184 185# default attribute name to use when forming RDN of a new entry 186# 187cn 188 189# default location when adding new entries 190"ou=User Groups, ou=Groups, o=University of Michigan, c=US" 191 192# 193# rules used to define default values for new entries 194constant "associatedDomain" "umich.edu" 195constant "joinable" "FALSE" 196addersdn "owner" 197addersdn "member" 198addersdn "errorsTo" 199addersdn "requestsTo" 200END 201 202# 203# 204# list of items for display 205# each line is either: 206# item (type) (attribute) (attr name) (extra args...) 207# to define an item or 208# samerow 209# 210# list of items for display 211item cis,sort "Also Known As" cn 212item mls "Description" multiLineDescription 213item cis "Phone Number" telephoneNumber 214item cis "Fax Number" facsimileTelephoneNumber 215item mls "Address" postalAddress 216item dn,required,sort "Owner" owner 217item url "More Info (URL)" labeledURL 218item dn,sort "See Also" seeAlso 219item dn,sort "Errors To" errorsTo 220item dn,sort "Requests To" requestsTo 221item cis "Associated Domain" associatedDomain 222item cis "Moderator" moderator 223item bool "Suppress 'No E-Mail Address' Errors" suppressNoEmailError 224item bool "Others May Join" joinable 225item dn,sort "X.500 Members" member 226item mail,sort "E-Mail Errors To" rfc822ErrorsTo 227item mail,sort "E-Mail Requests To" rfc822RequestsTo 228item mail,sort "E-Mail Members" mail 229item cis "Notice" notice 230item time,ro "Last Modified" lastModifiedTime 231item dn,ro "Modified By" lastModifiedBy 232item searchact "Subscribers" "" "-dnt" "memberOfGroup=%v" "title" "Title" "joinable" 233item verifyact "Verify Members" "member" "mail" "E-Mail Address" 234END 235 236########################################################################## 237# Organization template 238########################################################################## 239"Organization" 240"Organizations" 241"organization icon" 242 243# template options 244"" 245 246# objectclass list 247organization 248END 249 250# name of attribute to authenticate as 251"" 252 253# default attribute name to use when forming RDN of a new entry 254o 255 256# default location when adding new entries 257"" 258 259# rules used to define default values for new entries 260constant "o" "foo" 261END 262 263# 264# 265# list of items for display 266# each line is either: 267# item (type) (attribute) (attr name) (extra args...) 268# to define an item or 269# samerow 270# 271# list of items for display 272item cis,sort "Name" o 273item cis "Location" l 274item mls "Address" postalAddress 275item cis "Phone Number" telephoneNumber 276item cis "Fax Number" facsimileTelephoneNumber 277item cis "Description" description 278item dn,sort "See Also" seeAlso 279item time,ro "Last Modified" lastModifiedTime 280item dn,ro "Modified By" lastModifiedBy 281END 282 283 284########################################################################## 285# Service template 286########################################################################## 287"Service" 288"Services" 289"service icon" 290 291# template options 292"addable" 293 294# objectclass list 295service 296END 297 298# name of attribute to authenticate as 299"owner" 300 301# default attribute name to use when forming RDN of a new entry 302cn 303 304# default location when adding new entries 305"ou=Services, o=University of Michigan, c=US" 306 307# rules used to define default values for new entries 308addersdn "owner" 309END 310 311# 312# 313# list of items for display 314# each line is either: 315# item (type) (attribute) (attr name) (extra args...) 316# to define an item or 317# samerow 318# 319# list of items for display 320item jpegbtn "View Photo" jpegPhoto 321item cis,sort "Name" cn 322item mls "Description" multilineDescription 323item cis "Provider" provider 324item cis,sort "Service Area" serviceArea 325item mail "E-mail Address" mail 326item cis "Phone" telephoneNumber 327item cis "Fax Number" facsimileTelephoneNumber 328item mls "Postal Address" postalAddress 329item cis "Hours" hoursOfOperation 330item url "More Info (URL)" labeledURL 331item dn,sort "Depends On" dependentUpon 332item dn,sort "See Also" seeAlso 333item cis,sort "Platform" platform 334item cis,sort "Product" product 335item cis,sort "Keywords" keywords 336item cis "FCE Rating" serviceRating 337item date "Date Rated" ratingTime 338item mls "Rating Description" ratingDescription 339item time,ro "Last Modified" lastModifiedTime 340item dn,ro "Modified By" lastModifiedBy 341item dn,required,sort "Owner" owner 342END 343 344 345########################################################################## 346# Organizational Role template 347########################################################################## 348"Organizational Role" 349"Organizational Roles" 350"person icon" 351 352# template options 353"" 354 355# objectclass list 356organizationalRole 357END 358 359# name of attribute to authenticate as 360"" 361 362# default attribute name to use when forming RDN of a new entry 363cn 364 365# default location when adding new entries 366"" 367 368# rules used to define default values for new entries 369END 370 371# 372# 373# list of items for display 374# each line is either: 375# item (type) (attribute) (attr name) (extra args...) 376# to define an item or 377# samerow 378# 379# list of items for display 380item cis,sort "Name" cn 381item cis "Description" description 382item dn "Role Occupant" roleOccupant 383item dn,sort "See Also" seeAlso 384item time,ro "Last Modified" lastModifiedTime 385item dn,ro "Modified By" lastModifiedBy 386END 387 388 389########################################################################## 390# Organizational Unit template 391########################################################################## 392"Organizational Unit" 393"Organizational Units" 394"organization icon" 395 396# template options 397"" 398 399# objectclass list 400organizationalUnit 401END 402 403# name of attribute to authenticate as 404"" 405 406# default attribute name to use when forming RDN of a new entry 407cn 408 409# default location when adding new entries 410"" 411 412# rules used to define default values for new entries 413END 414 415# Item list 416item cis "Organization Unit Name" ou 417item cis "Title" title 418item time,ro "Last Modified" lastModifiedTime 419item dn,ro "Modified By" lastModifiedBy 420END 421 422 423 424########################################################################## 425# Application Entity template 426########################################################################## 427"Application Entity" 428"Application Entities" 429"application icon" 430 431# template options 432"" 433 434# objectclass list 435applicationEntity 436END 437 438# name of attribute to authenticate as 439"" 440 441# default attribute name to use when forming RDN of a new entry 442cn 443 444# default location when adding new entries 445"" 446 447# rules used to define default values for new entries 448END 449 450# Item list 451item cis,sort "Name" cn 452item cis "Location" l 453item cis "Description" description 454item time,ro "Last Modified" lastModifiedTime 455item dn,ro "Modified By" lastModifiedBy 456END 457 458########################################################################## 459# Document template 460########################################################################## 461"Document" 462"Documents" 463"document icon" 464 465# template options 466"" 467 468# objectclass list 469document 470umichDocument 471END 472 473# name of attribute to authenticate as 474"" 475 476# default attribute name to use when forming RDN of a new entry 477cn 478 479# default location when adding new entries 480"" 481 482# rules used to define default values for new entries 483END 484 485# 486# Item list 487item cis "Document ID" documentIdentifier 488item cis "Title" documentTitle 489item cis "Series Title" documentSeriesTitle 490item cis "Version" documentVersion 491item cis,sort "Service Area" serviceArea 492item mls "Abstract" multiLineAbstract 493item url "More Info (URL)" labeledURL 494item dn,sort "Availability" documentAvailable 495item dn,sort "See Also" seeAlso 496item cis,sort "Platform" platform 497item cis,sort "Product" product 498item cis,sort "Keyword" keywords 499item dn,sort "Author" documentAuthor 500item time,ro "Last Modified" lastModifiedTime 501item dn,ro "Modified By" lastModifiedBy 502item dn,required "Owner" owner 503END 504 505########################################################################## 506# Document description template 507########################################################################## 508"DocumentDescription" 509"DocumentDescriptions" 510"document description icon" 511 512# template options 513"" 514 515# objectclass list 516documentDescription 517END 518 519# name of attribute to authenticate as 520"" 521 522# default attribute name to use when forming RDN of a new entry 523cn 524 525# default location when adding new entries 526"" 527 528# rules used to define default values for new entries 529END 530 531# 532# Item list 533item mls "Description" multilineDescription 534item url "More Info (URL)" labeledURL 535item time,ro "Last Modified" lastModifiedTime 536item dn,ro "Modified By" lastModifiedBy 537item dn,required "Owner" owner 538END 539 540########################################################################## 541# Image template 542########################################################################## 543"Image" 544"Images" 545"image icon" 546 547# template options 548"" 549 550# objectclass list 551image 552END 553 554# name of attribute to authenticate as 555"" 556 557# default attribute name to use when forming RDN of a new entry 558cn 559 560# default location when adding new entries 561"" 562 563# rules used to define default values for new entries 564END 565 566# 567# Item list 568item cis "Name" cn 569item mls "Description" multilineDescription 570item jpegbtn "View Photo(s)" jpegPhoto 571item cis "Citation" citation 572item cis "Copyright" copyright 573item cis "Keywords" keywords 574item time,ro "Last Modified" lastModifiedTime 575item dn,ro "Modified By" lastModifiedBy 576item dn,required "Owner" owner 577END 578 579 580 581########################################################################## 582# Country template 583########################################################################## 584"Country" 585"Countries" 586"country icon" 587 588# template options 589"" 590 591# objectclass list 592friendlyCountry 593END 594 595# name of attribute to authenticate as 596"" 597 598# default attribute name to use when forming RDN of a new entry 599c 600 601# default location when adding new entries 602"" 603 604# rules used to define default values for new entries 605END 606 607# Item list 608item cis "Country Name" co 609item cis "Country Code" c 610item cis "Description" description 611item time,ro "Last Modified" lastModifiedTime 612item dn,ro "Modified By" lastModifiedBy 613END 614 615########################################################################## 616# Locality template 617########################################################################## 618"Locality" 619"Localities" 620"locality icon" 621 622# template options 623"" 624 625# objectclass list 626locality 627END 628 629# name of attribute to authenticate as 630"" 631 632# default attribute name to use when forming RDN of a new entry 633l 634 635# default location when adding new entries 636"" 637 638# rules used to define default values for new entries 639END 640 641# 642# Item list 643item cis "Name" l 644item time,ro "Last Modified" lastModifiedTime 645item dn,ro "Modified By" lastModifiedBy 646END 647 648 649########################################################################## 650# "Other Addresses" template 651########################################################################## 652"Others Addresses" 653"Other Addresses" 654"other addr icon" 655 656# template options 657"altview" 658 659# objectclass list 660END 661 662# name of attribute to authenticate as 663"" 664 665# default attribute name to use when forming RDN of a new entry 666"" 667 668# default location when adding new entries 669"" 670 671# rules used to define default values for new entries 672END 673 674# Item list 675item cis "Street Address" streetAddress 676item cis "Locality" l 677item cis "State or Province" st 678item cis "Postal Code" postalCode 679item cis,hide "X.400 Address" mhsORAddresses 680item cis,hide "X.400 Address" textEncodedORAddress 681Item cis "Other Mailbox" otherMailbox 682item time,ro "Last Modified" lastModifiedTime 683item dn,ro "Modified By" lastModifiedBy 684END 685