]> git.sur5r.net Git - openldap/blob - contrib/tweb/TWEB_conFiles/tweb.conf.0.dist
fixed test on "" (empty) parent dn
[openldap] / contrib / tweb / TWEB_conFiles / tweb.conf.0.dist
1 #*_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
2 #                                                                          *
3 # tweb.conf.0                                                              *
4 #                                                                          *
5 # Function:..Configuration-file for TWEB                                   *
6 #                                                                          *
7 #                                                                          *
8 #                                                                          *
9 # Authors:...Dr. Kurt Spanier & Bernhard Winkler,                          *
10 #            Zentrum fuer Datenverarbeitung, Bereich Entwicklung           *
11 #            neuer Dienste, Universitaet Tuebingen, GERMANY                *
12 #                                                                          *
13 #                                       ZZZZZ  DDD    V   V                *
14 #            Creation date:                Z   D  D   V   V                *
15 #            July 26 1996                 Z    D   D   V V                 *
16 #            Last modification:          Z     D  D    V V                 *
17 #            December 18 1998           ZZZZ   DDD      V                  *
18 #                                                                          *
19 #/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/*/
20 #==========================================================================
21 # $Id: tweb.conf.0.dist,v 1.6 1999/09/10 15:01:21 zrnsk01 Exp $
22
23
24 #  THE PARAMETERS IN THIS FILE AND THE CORRESPONDING CONFIG-FILE.1
25 #  ARE PRE-SET TO PROVIDE A BASIC FUNCTIONALITY.
26 #
27 #  IF YOU LIKE, YOU CAN CHECK FOR FURTHER DISPLAY-OBJECTs, SORT,
28 #  SEARCH-ONLY AND MODIFY DEFINITIONS IN THE SECOND PART OF THE FILE.
29 #
30 #  TO ACTIVATE A CERTAIN FEATURE, THE CORRESPONDING LINES HAVE TO
31 #  BE DE-COMMENTED
32
33
34 #########################################################################
35
36
37 ###
38 ###  the description, how to display an object upon read
39 ###
40
41 #  FIRST-PAGE is the main view, SECOND-PAGE a linked page with more
42 #  (e.g., not so important) information
43 #
44 #  given is a list of attributes, with labels for each and the method,
45 #  how to display the content of the attribute
46
47 DISPLAY-OBJECT  pers
48 # 1.Bild
49 FIRST-PAGE      cn                          Name             DEFAULT
50                 personalTitle               Titel            DEFAULT
51                 organizationalStatus        Dienststellung   DEFAULT
52                 description                 Arbeitsgebiet    DEFAULT
53                 telephoneNumber             Geschäfts-Telefon  DEFAULT
54                 facsimileTelephoneNumber    Fax              DEFAULT
55                 mail                        E-Mail-Adresse   MAILTO
56                 textEncodedORaddress        X400-Adresse     DEFAULT
57                 postalAddress               Anschrift        MULTILINE
58                 roomNumber                  Raum             DEFAULT
59                 labeledURI                  URL              URI
60 # 2.Bild (see more)
61 SECOND-PAGE     sn                          Nachname         DEFAULT
62                 roleOccupant                Funktionsträger HREF
63                 memberOfGroup               E-Mail-Verteiler DEFAULT
64                 homepostalAddress           Heimat-Anschrift MULTILINE
65                 homePhone                   Privat-Telefon   DEFAULT
66                 pager                       Pager            DEFAULT
67                 lastModifiedTime   "letztmalig geändert"  DATE
68                 lastModifiedBy     "letztmalig geändert von"  DEFAULT
69
70 DISPLAY-OBJECT  organization
71 # 1.Bild
72 FIRST-PAGE      o                           Name             DEFAULT
73                 ou                          Name             DEFAULT
74                 l                           Ort              DEFAULT
75                 description                 Beschreibung     DEFAULT
76                 postalAddress               Postanschrift    MULTILINE
77                 telephoneNumber             Telefon          DEFAULT
78                 facsimileTelephoneNumber    Fax              DEFAULT
79                 labeledURI                  URL              URI
80 # 2.Bild (see more)
81 SECOND-PAGE     st                          Bundesland       DEFAULT
82                 seeAlso                     "weitere Informationen" MOVETO
83                 lastModifiedTime   "letztmalig geändert"  DATE
84                 lastModifiedBy     "letztmalig geändert von"  DEFAULT
85
86 DISPLAY-OBJECT   rfc822MailList
87 # 1. Bild
88 FIRST-PAGE      description                 Beschreibung     DEFAULT
89                 joinable                    abonnierbar      BOOLEAN
90                 associatedDomain            E-Mail-Domain    DEFAULT
91                 rfc822RequestsTo            "Anfragen an"    MAILTO
92                 requestsTo                  "Anfragen an"    HREF
93                 owner                       Eigentümer  HREF
94 # 2. Bild
95 SECOND-PAGE     lastModifiedTime   "letzte Änderung"    DATE
96                 lastModifiedBy      "geändert durch"    DEFAULT
97
98 DISPLAY-OBJECT  country
99 # 1.Bild
100 FIRST-PAGE      friendlyCountryName         Ländernamen DEFAULT
101                 associatedDomain            Domain           DEFAULT
102                 manager                     Manager          HREF
103                 labeledURI                  URL              URI
104 # 2.Bild (see more)
105 SECOND-PAGE     masterDSA                   Master-DSA       HREF
106                 slaveDSA                    Slave-DSA        HREF
107                 lastModifiedTime  "letztmalig geändert"      DATE
108                 lastModifiedBy    "letztmalig geändert von"  DEFAULT
109                 lastUpdateTime    "letztmalig geändert"      DATE
110
111 DISPLAY-OBJECT   default
112 # 1.Bild
113 FIRST-PAGE      jpegPhoto                   Foto            JPEG
114                 photo                       Foto            BMP
115                 cn                          Name            DEFAULT
116                 sn                          Nachname        DEFAULT
117                 textEncodedMtaName          MTA-Name        DEFAULT
118                 relatedMHSdomain            MHS-Domain      DEFAULT
119                 description                 Beschreibung    DEFAULT
120                 multiLineDescription        Beschreibung    MULTILINE
121                 info                        "Allgemeines"   DEFAULT
122                 productName                 Produktname     DEFAULT
123                 mail                        Mail-Adresse    MAILTO
124                 telephoneNumber             Telefon         DEFAULT
125                 facsimileTelephoneNumber    Fax             DEFAULT
126                 labeledURL                  URL             URL
127                 memberOfGroup               E-Mail-Verteiler DEFAULT
128                 member                      Mitglied        HREF
129                 owner                       Eigentümer HREF
130                 requestsTo                  "Anfragen an"   HREF
131                 errorsTo                    "Fehler an"     HREF
132                 krbName                     Kerberos-Name   DEFAULT
133                 postalAddress               Postanschrift   MULTILINE
134                 l                           Ort             DEFAULT
135                 textEncodedPSAP             Netz-Adresse    DEFAULT
136                 presentationAddress         Netz-Adresse    DEFAULT
137                 supportedApplicationContext Anwendung       DEFAULT
138                 publicAccess                Zugang          DEFAULT
139                 availability                Verfügbarkeit  DEFAULT
140                 knowledgeInformation        Kontakt         DEFAULT
141                 seeAlso                     "siehe auch"    HREF
142                 roleOccupant                Stelleninhabr   HREF
143                 manager                     Manager         HREF
144                 administrator               Manager         HREF
145                 secretary                   Sekretariat     HREF
146                 associatedName              "zugeordneter Name" HREF
147                 responsiblePerson           Verantwortlicher HREF
148                 domainComponent             Domain          DEFAULT
149                 labeledURI                  URL             URI
150 # 2.Bild (see more)
151 SECOND-PAGE     source                      Quelle          DEFAULT
152                 homePostalAddress           Heimat-Anschrift MULTILINE
153                 masterDSA                   Master-DSA      HREF
154                 slaveDSA                    Slave-DSA       HREF
155                 lastModifiedTime   "letztmalig geändert"      DATE
156                 lastModifiedBy     "letztmalig geändert von"  DEFAULT
157                 lastUpdateTime     "letztmalig geändert"      DATE
158
159
160 ###
161 ###  sorting and display of groups of entries
162 ###
163
164 #  while browsing and searching, entries below the current position
165 #  in the DIT, or the search results, can be grouped according to some
166 #  SORT rules; these rules determine,
167 #     1. which objectclass should signal a specific group, and in what
168 #        order the entries should be checked for those objectclasses
169 #        (the sequential order of the objectclasses given below),
170 #     2. what label should be applied to a group (" " means none),
171 #     3. the order of groups during output,
172 #     4. the display type for an object of the given object class
173 #         when display´ing a read result, and
174 #     5.  the attribute, that will control sort order of entries
175 #          within each group
176 #  the last two parameters are optional, and will default to display
177 #  type ´default´ (see DISPLAY-OBJECTS), and sort attribute sn (surname)
178 #  (if given in the entry, otherwise the RDN itself)
179 #
180 #  When an entry has none of the listed object classes, it will NOT be
181 #  included into the display !!!
182
183 SORT   dNSDomain               Domäne             8
184        domain                  Faxanschlüsse      9
185        rfc822MailList          X.500-E-Mail-Verteiler 10 rfc822MailList
186        organizationalPerson    Mitarbeiter             1 pers registeredAddress
187        residentialPerson       Privat-Personen         2 pers registeredAddress
188        person                  "sonstige Personen"     3 pers registeredAddress
189        locality                Gebiete                 7 organization
190        organization            Organisationen          5 organization
191        organizationalUnit      Unterorganisationen     6 organization 
192        alias                   Verweise               11
193        country                 Länder             4 country
194
195
196 ###
197 ###  the position of certain language-specific support-files
198 ###
199
200 #    a help file (accessible via http://host:port/H)
201 HELPFILE       tweb.help.0
202
203 #    converting certain RDNs to a more user-friendly form)
204 FRIENDLYFILE   ldapfriendly.0
205
206 #    header and footer beeing attached to every HTML page (not BASEDN)
207 HEADER         tweb.header.0
208 FOOTER         tweb.footer.0
209
210 #    a special message beeing attached to a HTML page when a allowed
211 #    user accesses the gateway (see ALLOW-STRING/DENY-STRING in tweb.rc)
212 ALLOW-MSG      allow.msg.0
213
214
215 ###
216 ###  some more settings for (language-specific) gateway-switches (see tweb.rc)
217 ###
218
219 # GW-SWITCH  "ROOT"                http://<my-world-relay.my-domain>:<port0>/M
220 #            "c=<my-country-ID>"   http://<my-country-relay.my-domain>:<port0>/
221
222
223 ###
224 ###  where to prevent listing and provide for searching only
225 ###
226
227 #  a (list of) DN(s), where no person lists should be display´ed, but
228 #  a search box only (e.g., because to many person are contained in
229 #  here, so list results would be too long); also, which header and 
230 #  footer files will be display´ed at that position
231
232 # SEARCH-ONLY "ou=<some-ou>, o=<my-organization>, c=<my-country-ID>"  search-only.head.0 search-only.foot.0
233
234
235 ###
236 ###  modifying entries via TWEB
237 ###
238
239 #  when the user is allowed to modify her own entry, MODIFY/MODATTR will
240 #  describe, what can be modified
241 #
242 #  BEWARE: this feature is not allowed at the University of Tuebingen,
243 #          so the code is not tested very well; usage is on own risc
244
245 #  objects of what class can be modified
246 #  (for each class a seperate description>)
247 # MODIFY          person
248
249 #  what attributes can be modified
250 #  a label in the HTTP formular is given for each attribute,
251 #  together with the maximum count of values, beeing accepted
252 #  in the input area
253
254 # MODATTR         personalTitle        Titel                      1
255 #                 organizationalStatus Dienststellung             1
256 #                 description          Beschreibung               2
257 #                 telephoneNumber      Telefon                    2
258 #                 facsimileTelephoneNumber FAX                    2
259 #                 mail                 Mail-Adresse               2
260 #                 roomNumber           Raum                       1
261 #                 memberOfGroup        Mailgruppe                10
262 #                 homePostalAddress    Heimatanschrift            1
263 #                 homePhone            "privat Telefon"           2
264 #                 pager                Pager                      2
265 #                 info                 Information                2
266
267