Code

Commented gosa.conf. First step.
[gosa.git] / gosa-core / contrib / gosa.conf
1 {literal}<?xml version="1.0"?>{/literal}
2 <conf config_version="{$config_checksum}" >
4   <!-- GOsa menu definition **************************************************
6        This tag defines the side and icon menu inside the
7        interface. Defining an entry here is no guarantie to get it shown,
8        though. Only entries with matching ACL's get shown.
10        There are two types of entries inside of the menu: section and plugin
12        Defining a section:
14        Open a <section> tag including a "name" attribute. This will show up in
15        the menu as a new section later on. Own entries are not handled via I18N
16        by default. Close the </section> tag after your plugin definitions.
18        Defining a plugin:
20        Open a <plugin> tag including a "class" attribute. The "class" should be
21        present inside your GOsa setup - the entry will be ignored if it is not.
23        Plugins should have an "acl" entry, that allows GOsa to decide wether
24        a user is allowed to see a plugin or not. The "acl" string matches with
25        an ACL definition done inside of GOsa -> ACLs.
27        You can override an icon by specifying the "icon" attribute.
28    -->
29   <menu>
31     <!-- Section to enable quick self service shortcuts for the logged in user -->
32     <section name="My account">
33       <plugin acl="users/user:self" class="user" />
34       <plugin acl="users/posixAccount:self"  class="posixAccount" />
35       <plugin acl="users/environment:self" class="environment" {if $cv.optional.kioskpath_active} kioskpath="{$cv.optional.kioskpath}"{/if} />
36       <plugin acl="users/mailAccount:self" class="mailAccount" />
37       <plugin acl="users/sambaAccount:self" class="sambaAccount" />
38 {if $cv.use_netatalk}
39       <plugin acl="users/netatalk:self" class="netatalk" />
40 {else}
41       <!--  <plugin acl="users/netatalk:self" class="netatalk" />  -->
42 {/if}
43       <plugin acl="users/connectivity:self" class="connectivity" />
44       <plugin acl="users/gofaxAccount:self" class="gofaxAccount" />
45       <plugin acl="users/phoneAccount:self" class="phoneAccount" />
46       <plugin acl="users/nagiosAccount:self" class="nagiosAccount" />
47       <plugin acl="users/scalixAccount:self" class="scalixAccount" />
48       <plugin acl="users/password:self" class="password" />
49     </section>
50     
51     <!-- Section to enable administrative services -->
52     <section name="Administration">
53       <plugin acl="department" class="departmentManagement" />
54       <plugin acl="users" class="userManagement" />
55       <plugin acl="groups" class="groupManagement" />
56       <plugin acl="ogroups" class="ogroupManagement" />
57       <plugin acl="application" class="applicationManagement" />
58 {if $cv.enableMimeType}
59       <plugin acl="mimetypes" class="mimetypeManagement" />
60 {else}
61       <!--  <plugin acl="mimetypes"  class="mimetypeManagement" /> -->
62 {/if}
63       <plugin acl="devices" class="deviceManagement" />
64       <plugin acl="terminal/termgeneric,workstation/workgeneric,server/servgeneric,phone/phoneGeneric,printer/printgeneric,component/componentGeneric,winworkstation/wingeneric" class="systems" />
65       <!-- Use 'lock_dn'      for dn
66         'lock_name'    for name
67         'lock_type'    for branch/freeze -->
68 {if $cv.enableFAI_management}
69       <plugin acl="fai/faiScript,fai/faiHook,fai/faiTemplate,fai/faiVariable,fai/faiPartitionTable,fai/faiPackage,fai/faiProfile" class="faiManagement" />
70 {else}
71       <!--  <plugin acl="fai/faiScript,fai/faiHook,fai/faiTemplate,fai/faiVariable,fai/faiPartitionTable,fai/faiPackage,fai/faiProfile" class="faiManagement" /> -->
72 {/if}
73       <plugin acl="gofaxlist" class="blocklist" />
74       <plugin acl="gofonmacro" class="goFonMacro" />
75       <plugin acl="gofonconference" class="phoneConferenceManagment" />
76       <plugin acl="acl"  class="aclManagement" />
77       <plugin acl="sudo" class="sudoManagement" />
78     </section>
80     <!-- Section to enable addon plugins -->
81     <section name="Addons">
82     <!--  <plugin acl="server/servservrepository,server/dakrepository,server/dakkeyring,server/dakqueue" class="dak_tabs" path="plugins/addons/dak" /> -->
83       <plugin acl="addressbook" class="addressbook" />
84       <plugin acl="mailqueue" class="mailqueue" />
85       <plugin acl="faxreport" class="faxreport" />
86       <plugin acl="fonreport" class="fonreport" />
87       <plugin acl="logview"  class="logview" />
88       <plugin acl="gotomasses" class="gotomasses" />
89       <plugin acl="ldapmanager" class="ldif" />
90     </section>
91   </menu>
95   <!-- Tab definitions *******************************************************
97        Tab definitions define the sub plugins which get included for certain
98        tabbed dialogs. If you change something here, never (!) remove the
99        primary (the first) "tab" tag which is defined. Most tabbed dialogs
100        need a primary plugin.
102        "*tab" should be looked for by a defined plugin. This one will take
103        every "tab" defined "class" and will show it inside of a tabbed dialog
104        with the header defined in "name".
105    -->
107   <!-- ACL dialog -->
108   <aclroletab>
109     <tab class="aclRole" name="ACL Role" />
110   </aclroletab>
112   <!-- User dialog -->
113   <usertabs>
114      <tab class="user" name="Generic" />
115      <tab class="posixAccount" name="Unix" />
116      <tab class="environment" name="Environment" />
117      <tab class="mailAccount" name="Mail" />
118      <tab class="sambaAccount" name="Samba" />
119 {if $cv.use_netatalk}     <tab class="netatalk" name="Netatalk" /> {else}<!-- <tab class="netatalk" name="Netatalk" /> --> {/if}
120      <tab class="connectivity" name="Connectivity" />
121      <tab class="gofaxAccount" name="Fax" />
122      <tab class="phoneAccount" name="Phone" />
123      <tab class="scalixAccount" name="Scalix" />
124      <tab class="nagiosAccount" name="Nagios" /> 
125    </usertabs>
127   <!-- Group dialog -->
128   <grouptabs>
129     <tab class="group" name="Generic" />
130     <tab class="environment" name="Environment" />
131     <tab class="appgroup" name="Applications" />
132     <tab class="mailgroup" name="Mail" />
133   </grouptabs>
135   <!-- Sudo dialog -->
136   <sudotabs>
137     <tab class="sudo" name="Generic" />
138     <tab class="sudoOption" name="Options" />
139   </sudotabs>
141   <!-- GOfax plugins -->
142   <faxblocktabs>
143     <tab class="blocklistGeneric" name="Generic" />
144   </faxblocktabs>
146   <!-- GOfon plugins -->
147   <conferencetabs>
148     <tab class="conference" name="Generic" />
149   </conferencetabs>
151   <macrotabs>
152     <tab class="macro" name="Generic" />
153     <tab class="macroParameter" name="Parameter" />
154   </macrotabs>
156   <phonetabs>
157     <tab class="phoneGeneric" name="Generic" />
158     <!-- <tab class="glpiAccount" name="Inventory" /> -->
159   </phonetabs>
161   <!-- GOto plugins -->
162   <appstabs>
163     <tab class="application" name="Generic" />
164     <tab class="applicationParameters" name="Options" />
165   </appstabs>
167   <mimetabs>
168     <tab class="mimetype" name="Generic" />
169   </mimetabs>
171   <devicetabs>
172     <tab class="deviceGeneric" name="Generic" />
173   </devicetabs>
175   <arpnewdevicetabs>
176     <tab class="ArpNewDevice" name="Generic" />
177   </arpnewdevicetabs>
179   <termtabs>
180      <tab class="termgeneric" name="Generic" />
181      <tab class="termstartup" name="Startup" />
182      <tab class="termservice" name="Devices" />
183      <tab class="printgeneric" name="Printer" />
184      <tab class="terminfo" name="Information" snmpcommunity="{$cv.optional.snmpcommunity}" />
185      <!--<tab class="glpiAccount" name="Inventory" /> -->
186   </termtabs>
188   <servtabs>
189      <tab class="servgeneric" name="Generic" />
190      <tab class="workstartup" name="Startup" />
191      <tab class="ServerService" name="Services" />
192 {if $cv.enableFAI_management}
193      <tab class="faiSummaryTab" name="Deployment summary" />
194      <tab class="goto_log_view" name="Installation logs" />
195 {else}
196      <!-- <tab class="faiSummaryTab" name="Deployment summary" /> -->
197      <!-- <tab class="goto_log_view" name="Installation logs" /> -->
198 {/if}
199      <tab class="terminfo" name="Information" snmpcommunity="{$cv.optional.snmpcommunity}" />
200      <!-- <tab class="glpiAccount" name="Inventory" /> -->
201   </servtabs>
203   <worktabs>
204      <tab class="workgeneric" name="Generic" />
205      <tab class="workstartup" name="Startup" />
206      <tab class="workservice" name="Devices" />
207      <tab class="printgeneric" name="Printer" />
208      <tab class="terminfo" name="Information" snmpcommunity="{$cv.optional.snmpcommunity}" />
209 {if $cv.enableFAI_management}
210      <tab class="faiSummaryTab" name="Deployment summary" />
211      <tab class="goto_log_view" name="Installation logs" />
212 {else}
213      <!-- <tab class="faiSummaryTab" name="Deployment summary" /> -->
214      <!-- <tab class="goto_log_view" name="Installation logs" /> -->
215 {/if}
216      <!-- <tab class="glpiAccount" name="Inventory" /> -->
217   </worktabs>
219   <printtabs>
220      <tab class="printgeneric" name="Generic" />
221      <!-- <tab class="glpiPrinterAccount" name="Inventory" /> -->
222   </printtabs>
224   <componenttabs>
225      <tab class="componentGeneric" name="Generic" />
226      <!-- <tab class="glpiAccount" name="Inventory" /> -->
227   </componenttabs>
229   <wintabs>
230      <tab class="wingeneric" name="Generic" />
231      <!-- <tab class="glpiAccount" name="Inventory" /> -->
232   </wintabs>
234   <serverservice>
235     <tab class="goMailServer" />
236 {if $cv.mail == "kolab"}
237     <tab class="servkolab" />
238 {/if}
239     <tab class="goNtpServer" />
240     <tab class="servrepository" />
241     <tab class="goImapServer" />
242     <tab class="goKrbServer" />
243     <tab class="goFaxServer" />
244     <tab class="goFonServer" />
245     <tab class="goLogDBServer" />
246     <tab class="goGlpiServer" />
247     <tab class="goCupsServer" />
248     <tab class="goKioskService" />
249     <tab class="goSyslogServer" />
250     <tab class="goTerminalServer" />
251     <tab class="goLdapServer" />
252     <tab class="goShareServer" />
253 {if $cv.generic_settings.enableDHCP}
254     <tab class="servdhcp" />
255 {/if}
256 {if $cv.generic_settings.enableDNS}
257     <tab class="servdns" />
258 {/if}
259     <tab class="gosaLogServer" />
260   </serverservice>
262   <!-- Department plugin -->
263   <deptabs>
264     <tab class="department" name="Generic" />
265   </deptabs>
267   <organization_tabs>
268     <tab class="organization" name="Generic" />
269   </organization_tabs>
271   <locality_tabs>
272     <tab class="locality" name="Generic" />
273   </locality_tabs>
275   <country_tabs>
276     <tab class="country" name="Generic" />
277   </country_tabs>
279   <dcobject_tabs>
280     <tab class="dcObject" name="Generic" />
281   </dcobject_tabs>
283   <ogrouptabs>
284     <tab class="ogroup" name="Generic" />
285   </ogrouptabs>
287   <!-- Debian archive management plugin -->
288 <!--
289   <dak_tabs>
290     <tab class="dakrepository" name="Repository" />
291     <tab class="dakqueue" name="Queue" />
292     <tab class="dakkeyring" name="Key ring" />
293   </dak_tabs>
294 -->
296   <!-- Connectivity plugins -->
297   <connectivity>
298 {if $cv.mail == "kolab"}
299     <tab class='kolabAccount' /> 
300 {/if}
301     <tab class="proxyAccount" />
302     <tab class="pureftpdAccount" />
303     <tab class="webdavAccount" />
304     <tab class="phpgwAccount" />
305     <tab class="intranetAccount" />
306 <!--
307     <tab class="opengwAccount"
308       username="OGo"
309       password=""
310       database="OGo"
311       datahost="localhost" />
312 -->
313     <tab class="pptpAccount" /> 
314     <tab class="phpscheduleitAccount" /> 
315         <tab class="oxchangeAccount" />
316   </connectivity>
318   <ldiftab>
319     <tab class="ldifexport" name="Export" />
320     <tab class="xlsexport" name="Excel Export" />
321     <tab class="ldifimport" name="Import" />
322     <tab class="csvimport" name="CSV Import" />
323   </ldiftab>
325   <!-- FAI plugins -->
326 {if $cv.enableFAI_management}
327   <faipartitiontabs>
328     <tab class="faiPartitionTable" name="Partitions" />
329   </faipartitiontabs>
331   <faiscripttabs>
332     <tab class="faiScript" name="Script" />
333   </faiscripttabs>
335   <faihooktabs>
336     <tab class="faiHook" name="Hooks" />
337   </faihooktabs>
339   <faivariabletabs>
340     <tab class="faiVariable" name="Variables" />
341   </faivariabletabs>
343   <faitemplatetabs>
344     <tab class="faiTemplate" name="Templates" />
345   </faitemplatetabs>
347   <faiprofiletabs>
348     <tab class="faiProfile" name="Profiles" />
349     <tab class="faiSummaryTab" name="Summary" />
350   </faiprofiletabs>
352   <faipackagetabs>
353     <tab class="faiPackage" name="Packages" />
354   </faipackagetabs>
355 {else}
356 <!-- 
357   <faipartitiontabs>
358     <tab class="faiPartitionTable" name="Partitions" />
359   </faipartitiontabs>
361   <faiscripttabs>
362     <tab class="faiScript" name="Script" />
363   </faiscripttabs>
365   <faihooktabs>
366     <tab class="faiHook" name="Hooks" />
367   </faihooktabs>
369   <faivariabletabs>
370     <tab class="faiVariable" name="Variables" />
371   </faivariabletabs>
373   <faitemplatetabs>
374     <tab class="faiTemplate" name="Templates" />
375   </faitemplatetabs>
377   <faiprofiletabs>
378     <tab class="faiProfile" name="Profiles" />
379     <tab class="faiSummaryTab" name="Summary" />
380   </faiprofiletabs>
382   <faipackagetabs>
383     <tab class="faiPackage" name="Packages" />
384   </faipackagetabs>
385 -->
386 {/if}
389   <!-- Logging plugin -->
390   <logtabs>
391       <tab class="logview" name="System logs" />
392       <tab class="gosa_logview" name="GOsa logs" />
393   </logtabs>
394   
396   <!-- Main section **********************************************************
398        The main section defines global settings, which might be overridden by
399        each location definition inside.
401   -->
402   <main default="{$cv.location}"
403 {if $cv.optional.list_summary}
404         list_summary="true"
405 {else}
406         list_summary="false"
407 {/if}
408 {if $cv.pwd_rules.pwminlen_active}
409         pwminlen="{$cv.pwd_rules.pwminlen}"
410 {/if}
411 {if $cv.pwd_rules.pwdiffer_active}
412         pwdiffer="{$cv.pwd_rules.pwdiffer}"
413 {/if}
414 {if $cv.pwd_rules.externalpwdhook_active}
415         externalpwdhook="{$cv.pwd_rules.externalpwdhook}"
416 {/if}
417 {if $cv.errorlvl}
418         displayerrors="true"
419 {else}
420         displayerrors="false"
421 {/if}
422 {if $cv.enable_schema_check}
423         schema_check="true"
424 {else}
425         schema_check="false"
426 {/if}
427 {if $cv.generic_settings.enableCopyPaste}
428         enableCopyPaste="true"
429 {else}
430         enableCopyPaste="false"
431 {/if}
432 {if $cv.optional.forceglobals}
433         forceglobals="true"
434 {else}
435         forceglobals="false"
436 {/if}
437 {if $cv.optional.forcessl}
438         forcessl="true"
439 {else}
440         forcessl="false"
441 {/if}
442 {if $cv.optional.ldapstats}
443         ldapstats="true"
444 {else}
445         ldapstats="false"
446 {/if}
447 {if $cv.optional.warnssl}
448         warnssl="true"
449 {else}
450         warnssl="false"
451 {/if}
452 {if $cv.optional.ppd_path_active}
453        ppd_path="{$cv.optional.ppd_path}"
454 {/if}
455 {if $cv.optional.max_ldap_query_time_active}  
456        max_ldap_query_time="{$cv.optional.max_ldap_query_time}"
457 {/if}
458 {if $cv.optional.noprimarygroup}
459        noprimarygroup="true"
460 {/if}
461 {if $cv.optional.mailQueueScriptPath_active}
462        mailQueueScriptPath="{$cv.optional.mailQueueScriptPath}"
463 {/if}
464 {if $cv.optional.auto_network_hook_active}
465        auto_network_hook="{$cv.optional.auto_network_hook} "
466 {/if}
467 {if $cv.optional.user_filter_cookie}
468        save_filter="true"
469 {else}
470        save_filter="false"
471 {/if}
472 {if $cv.compressed}
473        compressed="true"
474 {else}
475        compressed="false"
476 {/if}
477 {if $cv.optional.uniq_identifier_active }
478        uniq_identifier="{$cv.optional.uniq_identifier}"
479 {else}
480        uniq_identifier=""
481 {/if}
482        lang="{$cv.lang_selected}"
483        theme="{$cv.theme}"
484        session_lifetime="{$cv.optional.session_lifetime}"
485        compile="{$cv.optional.compile}"
486        debuglevel="{$cv.optional.debuglevel}"
487        smbhash='{$cv.samba_settings.smbhash}'
488     >
490     <!-- Location definition -->
491     <location name="{$cv.location}"
492               hash="{$cv.encryption}"
493               dnmode="{$cv.peopledn}"
494               server="{$cv.connection}"
495               people="{$cv.peopleou}"
496               groups="{$cv.groupou}"
497               gidbase="{$cv.uidbase}"
498               uidbase="{$cv.uidbase}"
499               logging="{$cv.generic_settings.logging}"
500 {if $cv.optional.sudoou_active}
501               sudoou="{$cv.optional.sudoou}"
502 {/if}
503 {if $cv.optional.login_attribute}
504               login_attribute="{$cv.optional.login_attribute}"
505 {else}
506               login_attribute="uid"
507 {/if}
508 {if $cv.timezone}
509               timezone="{$cv.timezone}"
510 {/if}
511 {if $cv.optional.strict_units}
512               strict_units="true"
513 {else}
514               strict_units="false"
515 {/if}
516 {if $cv.krbsasl}
517               krbsasl="true"
518 {else}
519               krbsasl="false"
520 {/if}
521 {if $cv.rfc2307bis}
522               rfc2307bis="true"
523 {else}
524               rfc2307bis="false"
525 {/if}
526 {if $cv.include_personal_title}
527               include_personal_title="true"
528 {else}
529               include_personal_title="false"
530 {/if}
531 {if $cv.optional.notifydir_active }
532               notifydir="{$cv.optional.notifydir}"
533 {/if}
534 {if $cv.base_hook_active}
535               base_hook="{$cv.base_hook}"
536 {/if}
537 {if $cv.generic_settings.wws_ou_active}
538               winstations="{$cv.generic_settings.wws_ou}"
539 {/if}
540 {if $cv.id_settings.idgen_active}
541               idgen="{$cv.id_settings.idgen}"
542 {/if}
543 {if $cv.strict}
544               strict="yes"
545 {else}
546               strict="no"
547 {/if}
548 {if $cv.id_settings.minid_active}
549               minid="{$cv.id_settings.minid}"
550 {/if}
551 {if $cv.mail != "disabled"}
552               mailMethod="{$cv.mail}"
553 {if $cv.cyrusunixstyle}
554               cyrusunixstyle="true"
555 {else}
556               cyrusunixstyle="false"
557 {/if}
558               mail_uattrib="{$cv.mail_attrib}"
559 {if $cv.mail_settings.vacationdir_active}
560               vacationdir="{$cv.mail_settings.vacationdir}"
561 {/if}
562 {/if}
563 {if $cv.tls}
564               tls="true"
565 {/if}
566 {if $cv.governmentmode}
567               governmentmode="true"
568 {else}
569               governmentmode="false"
570 {/if}
571 {if $cv.sambaidmapping}
572               sambaidmapping="true"
573 {/if}
574 {if $cv.account_expiration}
575               account_expiration="true"
576 {/if}
577 {if $cv.samba_settings.samba_sid_active}
578               SID="{$cv.samba_settings.samba_sid}"
579 {/if}
580 {if $cv.samba_settings.samba_rid_active}
581               RIDBASE="{$cv.samba_settings.samba_rid_active}"
582 {/if}
583 {if $cv.generic_settings.snapshot_active}  
584               enable_snapshot="true"
585 {if $cv.generic_settings.snapshot_base != ""}
586               snapshot_base="{$cv.generic_settings.snapshot_base}"
587 {/if}
588 {if $cv.generic_settings.snapshot_user != ""}
589               snapshot_user="{$cv.generic_settings.snapshot_user}"
590 {/if}
591 {if $cv.generic_settings.snapshot_password != ""}
592               snapshot_password="{$cv.generic_settings.snapshot_password}"
593 {/if}
594 {if $cv.generic_settings.snapshot_server != ""}
595               snapshot_server="{$cv.generic_settings.snapshot_server}"
596 {/if}
597 {/if}
598 {if $cv.samba_version != 0}
599               sambaversion="{$cv.samba_version}"
600 {/if}
601               config="ou=gosa,ou=configs,ou=systems,{$cv.base}">
603               <referral url="{$cv.connection}/{$cv.base}"
604                        admin="{$cv.admin}"
605                        password="{$cv.password}" />
607     </location>
608   </main>
609 </conf>