Code

Updated contrib conf
[gosa.git] / gosa-core / contrib / gosa.conf
1 {literal}<?xml version="1.0"?>{/literal}
2 <conf configVersion="{$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.
29        For more information about possible configuration parameters, please take
30        a look at the gosa.conf(5) manual page.
31    -->
32   <menu>
34     <!-- Section to enable quick self service shortcuts for the logged in user -->
35     <section name="My account">
36       <plugin acl="users/user:self" class="user" />
37       <plugin acl="users/posixAccount:self"  class="posixAccount" />
38       <plugin acl="users/environment:self" class="environment" {if $cv.optional.kioskpath_active} kioskPath="{$cv.optional.kioskpath}"{/if} />
39       <plugin acl="users/mailAccount:self" class="mailAccount" />
40       <plugin acl="users/sambaAccount:self" class="sambaAccount" />
41 {if $cv.use_netatalk}
42       <plugin acl="users/netatalk:self" class="netatalk" />
43 {else}
44       <!--  <plugin acl="users/netatalk:self" class="netatalk" />  -->
45 {/if}
46       <plugin acl="users/connectivity:self" class="connectivity" />
47       <plugin acl="users/gofaxAccount:self" class="gofaxAccount" />
48       <plugin acl="users/phoneAccount:self" class="phoneAccount" />
49       <plugin acl="users/nagiosAccount:self" class="nagiosAccount" />
50       <plugin acl="users/scalixAccount:self" class="scalixAccount" />
51       <plugin acl="users/password:self" class="password" />
52     </section>
53     
54     <!-- Section to enable administrative services -->
55     <section name="Administration">
56       <plugin acl="department" class="departmentManagement" />
57       <plugin acl="users" class="userManagement" />
58       <plugin acl="groups" class="groupManagement" />
59       <plugin acl="ogroups" class="ogroupManagement" />
60       <plugin acl="application" class="applicationManagement" />
61 {if $cv.enableMimeType}
62       <plugin acl="mimetypes" class="mimetypeManagement" />
63 {else}
64       <!--  <plugin acl="mimetypes"  class="mimetypeManagement" /> -->
65 {/if}
66       <plugin acl="devices" class="deviceManagement" />
67       <plugin acl="terminal/termgeneric,workstation/workgeneric,server/servgeneric,phone/phoneGeneric,printer/printgeneric,component/componentGeneric,winworkstation/wingeneric" class="systems" />
68       <!-- Use 'lockDn'      for dn
69                'lockName'    for name
70                'lockType'    for branch/freeze -->
71 {if $cv.enableFAI_management}
72       <plugin acl="fai/faiScript,fai/faiHook,fai/faiTemplate,fai/faiVariable,fai/faiPartitionTable,fai/faiPackage,fai/faiProfile" class="faiManagement" />
73 {else}
74       <!--  <plugin acl="fai/faiScript,fai/faiHook,fai/faiTemplate,fai/faiVariable,fai/faiPartitionTable,fai/faiPackage,fai/faiProfile" class="faiManagement" /> -->
75 {/if}
76       <plugin acl="gofaxlist" class="blocklist" />
77       <plugin acl="gofonmacro" class="goFonMacro" />
78       <plugin acl="gofonconference" class="phoneConferenceManagment" />
79       <plugin acl="acl"  class="aclManagement" />
80       <plugin acl="sudo" class="sudoManagement" />
81     </section>
83     <!-- Section to enable addon plugins -->
84     <section name="Addons">
85     <!--  <plugin acl="server/servservrepository,server/dakrepository,server/dakkeyring,server/dakqueue" class="dak_tabs" path="plugins/addons/dak" /> -->
86       <plugin acl="addressbook" class="addressbook" />
87       <plugin acl="mailqueue" class="mailqueue" />
88       <plugin acl="faxreport" class="faxreport" />
89       <plugin acl="fonreport" class="fonreport" />
90       <plugin acl="logview"  class="logview" />
91       <plugin acl="gotomasses" class="gotomasses" />
92       <plugin acl="ldapmanager" class="ldif" />
93     </section>
94   </menu>
98   <!-- Tab definitions *******************************************************
100        Tab definitions define the sub plugins which get included for certain
101        tabbed dialogs. If you change something here, never (!) remove the
102        primary (the first) "tab" tag which is defined. Most tabbed dialogs
103        need a primary plugin.
105        "*tab" should be looked for by a defined plugin. This one will take
106        every "tab" defined "class" and will show it inside of a tabbed dialog
107        with the header defined in "name".
108    -->
110   <!-- ACL dialog -->
111   <aclroletab>
112     <tab class="aclRole" name="ACL Role" />
113   </aclroletab>
115   <!-- User dialog -->
116   <usertabs>
117      <tab class="user" name="Generic" />
118      <tab class="posixAccount" name="Unix" />
119      <tab class="environment" name="Environment" />
120      <tab class="mailAccount" name="Mail" />
121      <tab class="sambaAccount" name="Samba" />
122 {if $cv.use_netatalk}     <tab class="netatalk" name="Netatalk" /> {else}<!-- <tab class="netatalk" name="Netatalk" /> --> {/if}
123      <tab class="connectivity" name="Connectivity" />
124      <tab class="gofaxAccount" name="Fax" />
125      <tab class="phoneAccount" name="Phone" />
126      <tab class="scalixAccount" name="Scalix" />
127      <tab class="nagiosAccount" name="Nagios" /> 
128    </usertabs>
130   <!-- Group dialog -->
131   <grouptabs>
132     <tab class="group" name="Generic" />
133     <tab class="environment" name="Environment" />
134     <tab class="appgroup" name="Applications" />
135     <tab class="mailgroup" name="Mail" />
136   </grouptabs>
138   <!-- Sudo dialog -->
139   <sudotabs>
140     <tab class="sudo" name="Generic" />
141     <tab class="sudoOption" name="Options" />
142   </sudotabs>
144   <!-- GOfax plugins -->
145   <faxblocktabs>
146     <tab class="blocklistGeneric" name="Generic" />
147   </faxblocktabs>
149   <!-- GOfon plugins -->
150   <conferencetabs>
151     <tab class="conference" name="Generic" />
152   </conferencetabs>
154   <macrotabs>
155     <tab class="macro" name="Generic" />
156     <tab class="macroParameter" name="Parameter" />
157   </macrotabs>
159   <phonetabs>
160     <tab class="phoneGeneric" name="Generic" />
161     <!-- <tab class="glpiAccount" name="Inventory" /> -->
162   </phonetabs>
164   <!-- GOto plugins -->
165   <appstabs>
166     <tab class="application" name="Generic" />
167     <tab class="applicationParameters" name="Options" />
168   </appstabs>
170   <mimetabs>
171     <tab class="mimetype" name="Generic" />
172   </mimetabs>
174   <devicetabs>
175     <tab class="deviceGeneric" name="Generic" />
176   </devicetabs>
178   <arpnewdevicetabs>
179     <tab class="ArpNewDevice" name="Generic" />
180   </arpnewdevicetabs>
182   <termtabs>
183      <tab class="termgeneric" name="Generic" />
184      <tab class="termstartup" name="Startup" />
185      <tab class="termservice" name="Devices" />
186      <tab class="printgeneric" name="Printer" />
187      <tab class="terminfo" name="Information" snmpCommunity="{$cv.optional.snmpcommunity}" />
188      <!--<tab class="glpiAccount" name="Inventory" /> -->
189   </termtabs>
191   <servtabs>
192      <tab class="servgeneric" name="Generic" />
193      <tab class="workstartup" name="Startup" />
194      <tab class="ServerService" name="Services" />
195 {if $cv.enableFAI_management}
196      <tab class="faiSummaryTab" name="Deployment summary" />
197      <tab class="goto_log_view" name="Installation logs" />
198 {else}
199      <!-- <tab class="faiSummaryTab" name="Deployment summary" /> -->
200      <!-- <tab class="goto_log_view" name="Installation logs" /> -->
201 {/if}
202      <tab class="terminfo" name="Information" snmpCommunity="{$cv.optional.snmpcommunity}" />
203      <!-- <tab class="glpiAccount" name="Inventory" /> -->
204   </servtabs>
206   <worktabs>
207      <tab class="workgeneric" name="Generic" />
208      <tab class="workstartup" name="Startup" />
209      <tab class="workservice" name="Devices" />
210      <tab class="printgeneric" name="Printer" />
211      <tab class="terminfo" name="Information" snmpCommunity="{$cv.optional.snmpcommunity}" />
212 {if $cv.enableFAI_management}
213      <tab class="faiSummaryTab" name="Deployment summary" />
214      <tab class="goto_log_view" name="Installation logs" />
215 {else}
216      <!-- <tab class="faiSummaryTab" name="Deployment summary" /> -->
217      <!-- <tab class="goto_log_view" name="Installation logs" /> -->
218 {/if}
219      <!-- <tab class="glpiAccount" name="Inventory" /> -->
220   </worktabs>
222   <printtabs>
223      <tab class="printgeneric" name="Generic" />
224      <!-- <tab class="glpiPrinterAccount" name="Inventory" /> -->
225   </printtabs>
227   <componenttabs>
228      <tab class="componentGeneric" name="Generic" />
229      <!-- <tab class="glpiAccount" name="Inventory" /> -->
230   </componenttabs>
232   <wintabs>
233      <tab class="wingeneric" name="Generic" />
234      <!-- <tab class="glpiAccount" name="Inventory" /> -->
235   </wintabs>
237   <serverservice>
238     <tab class="goMailServer" />
239 {if $cv.mail == "kolab"}
240     <tab class="servkolab" />
241 {/if}
242     <tab class="goNtpServer" />
243     <tab class="servrepository" />
244     <tab class="goImapServer" />
245     <tab class="goKrbServer" />
246     <tab class="goFaxServer" />
247     <tab class="goFonServer" />
248     <tab class="goLogDBServer" />
249     <tab class="goGlpiServer" />
250     <tab class="goCupsServer" />
251     <tab class="goKioskService" />
252     <tab class="goSyslogServer" />
253     <tab class="goTerminalServer" />
254     <tab class="goLdapServer" />
255     <tab class="goShareServer" />
256     <tab class="gospamserver" />
257     <tab class="govirusserver" />
258 {if $cv.generic_settings.enableDHCP}
259     <tab class="servdhcp" />
260 {/if}
261 {if $cv.generic_settings.enableDNS}
262     <tab class="servdns" />
263 {/if}
264     <tab class="gosaLogServer" />
265   </serverservice>
267   <!-- Department plugin -->
268   <deptabs>
269     <tab class="department" name="Generic" />
270   </deptabs>
272   <organization_tabs>
273     <tab class="organization" name="Generic" />
274   </organization_tabs>
276   <locality_tabs>
277     <tab class="locality" name="Generic" />
278   </locality_tabs>
280   <country_tabs>
281     <tab class="country" name="Generic" />
282   </country_tabs>
284   <dcobject_tabs>
285     <tab class="dcObject" name="Generic" />
286   </dcobject_tabs>
288   <ogrouptabs>
289     <tab class="ogroup" name="Generic" />
290   </ogrouptabs>
292   <!-- Debian archive management plugin -->
293   <!--
294   <dak_tabs>
295     <tab class="dakrepository" name="Repository" />
296     <tab class="dakqueue" name="Queue" />
297     <tab class="dakkeyring" name="Key ring" />
298   </dak_tabs>
299   -->
301   <!-- Connectivity plugins -->
302   <connectivity>
303 {if $cv.mail == "kolab"}
304     <tab class='kolabAccount' /> 
305 {/if}
306     <tab class="proxyAccount" />
307     <tab class="pureftpdAccount" />
308     <tab class="webdavAccount" />
309     <tab class="phpgwAccount" />
310     <tab class="intranetAccount" />
311     <!--
312     <tab class="opengwAccount"
313       username="OGo"
314       password=""
315       database="OGo"
316       databaseServer="localhost" />
317     -->
318     <tab class="pptpAccount" /> 
319     <tab class="phpscheduleitAccount" /> 
320     <tab class="oxchangeAccount" />
321   </connectivity>
323   <ldiftab>
324     <tab class="ldifexport" name="Export" />
325     <tab class="xlsexport" name="Excel Export" />
326     <tab class="ldifimport" name="Import" />
327     <tab class="csvimport" name="CSV Import" />
328   </ldiftab>
330   <!-- FAI plugins -->
331 {if $cv.enableFAI_management}
332   <faipartitiontabs>
333     <tab class="faiPartitionTable" name="Partitions" />
334   </faipartitiontabs>
336   <faiscripttabs>
337     <tab class="faiScript" name="Script" />
338   </faiscripttabs>
340   <faihooktabs>
341     <tab class="faiHook" name="Hooks" />
342   </faihooktabs>
344   <faivariabletabs>
345     <tab class="faiVariable" name="Variables" />
346   </faivariabletabs>
348   <faitemplatetabs>
349     <tab class="faiTemplate" name="Templates" />
350   </faitemplatetabs>
352   <faiprofiletabs>
353     <tab class="faiProfile" name="Profiles" />
354     <tab class="faiSummaryTab" name="Summary" />
355   </faiprofiletabs>
357   <faipackagetabs>
358     <tab class="faiPackage" name="Packages" />
359   </faipackagetabs>
360 {else}
361   <!-- 
362   <faipartitiontabs>
363     <tab class="faiPartitionTable" name="Partitions" />
364   </faipartitiontabs>
366   <faiscripttabs>
367     <tab class="faiScript" name="Script" />
368   </faiscripttabs>
370   <faihooktabs>
371     <tab class="faiHook" name="Hooks" />
372   </faihooktabs>
374   <faivariabletabs>
375     <tab class="faiVariable" name="Variables" />
376   </faivariabletabs>
378   <faitemplatetabs>
379     <tab class="faiTemplate" name="Templates" />
380   </faitemplatetabs>
382   <faiprofiletabs>
383     <tab class="faiProfile" name="Profiles" />
384     <tab class="faiSummaryTab" name="Summary" />
385   </faiprofiletabs>
387   <faipackagetabs>
388     <tab class="faiPackage" name="Packages" />
389   </faipackagetabs>
390   -->
391 {/if}
394   <!-- Logging plugin -->
395   <logtabs>
396       <tab class="logview" name="System logs" />
397       <tab class="gosa_logview" name="GOsa logs" />
398   </logtabs>
399   
401   <!-- Main section **********************************************************
403        The main section defines global settings, which might be overridden by
404        each location definition inside.
406        For more information about the configuration parameters, take a look at
407        the gosa.conf(5) manual page.
409   -->
410   <main default="{$cv.location}"
411 {if $cv.optional.list_summary}
412         listSummary="true"
413 {else}
414         listSummary="false"
415 {/if}
416 {if $cv.pwd_rules.pwminlen_active}
417         passwordMinLength="{$cv.pwd_rules.pwminlen}"
418 {/if}
419 {if $cv.pwd_rules.pwdiffer_active}
420         passwordMinDiffer="{$cv.pwd_rules.pwdiffer}"
421 {/if}
422 {if $cv.pwd_rules.externalpwdhook_active}
423         passwordHook="{$cv.pwd_rules.externalpwdhook}"
424 {/if}
425 {if $cv.errorlvl}
426         displayErrors="true"
427 {else}
428         displayErrors="false"
429 {/if}
430 {if $cv.enable_schema_check}
431         schemaCheck="true"
432 {else}
433         schemaCheck="false"
434 {/if}
435 {if $cv.generic_settings.enableCopyPaste}
436         copyPaste="true"
437 {else}
438         copyPaste="false"
439 {/if}
440 {if $cv.optional.forceglobals}
441         forceGlobals="true"
442 {else}
443         forceGlobals="false"
444 {/if}
445 {if $cv.optional.forcessl}
446         forceSSL="true"
447 {else}
448         forceSSL="false"
449 {/if}
450 {if $cv.optional.ldapstats}
451         ldapStats="true"
452 {else}
453         ldapStats="false"
454 {/if}
455 {if $cv.optional.warnssl}
456         warnSSL="true"
457 {else}
458         warnSSL="false"
459 {/if}
460 {if $cv.optional.ppd_path_active}
461        ppdPath="{$cv.optional.ppd_path}"
462 {/if}
463 {if $cv.optional.max_ldap_query_time_active}  
464        ldapMaxQueryTime="{$cv.optional.max_ldap_query_time}"
465 {/if}
466 {if $cv.optional.noprimarygroup}
467        primaryGroupFilter="true"
468 {/if}
469 {if $cv.optional.mailQueueScriptPath_active}
470        mailQueueScriptPath="{$cv.optional.mailQueueScriptPath}"
471 {/if}
472 {if $cv.optional.user_filter_cookie}
473        storeFilterSettings="true"
474 {else}
475        storeFilterSettings="false"
476 {/if}
477 {if $cv.compressed}
478        sendCompressedOutput="true"
479 {else}
480        sendCompressedOutput="false"
481 {/if}
482 {if $cv.optional.uniq_identifier_active }
483        modificationDetectionAttribute="{$cv.optional.uniq_identifier}"
484 {else}
485        modificationDetectionAttribute=""
486 {/if}
487        language="{$cv.lang_selected}"
488        theme="{$cv.theme}"
489        sessionLifetime="{$cv.optional.session_lifetime}"
490        templateCompileDirectory="{$cv.optional.compile}"
491        debugLevel="{$cv.optional.debuglevel}"
492        sambaHashHook='{$cv.samba_settings.smbhash}'
493     >
495     <!-- Location definition -->
496     <location name="{$cv.location}"
497               passwordDefaultHash="{$cv.encryption}"
498               accountPrimaryAttribute="{$cv.peopledn}"
499               userRDN="{$cv.peopleou}"
500               groupRDN="{$cv.groupou}"
501               gidNumberBase="{$cv.uidbase}"
502               uidNumberBase="{$cv.uidbase}"
503               logging="{$cv.generic_settings.logging}"
504 {if $cv.optional.sudoou_active}
505               sudoRDN="{$cv.optional.sudoou}"
506 {/if}
507 {if $cv.optional.login_attribute}
508               loginAttribute="{$cv.optional.login_attribute}"
509 {else}
510               loginAttribute="uid"
511 {/if}
512 {if $cv.timezone}
513               timezone="{$cv.timezone}"
514 {/if}
515 {if $cv.optional.strict_units}
516               honourUnitTags="true"
517 {else}
518               honourUnitTags="false"
519 {/if}
520 {if $cv.krbsasl}
521               useSaslForKerberos="true"
522 {else}
523               useSaslForKerberos="false"
524 {/if}
525 {if $cv.rfc2307bis}
526               rfc2307bis="true"
527 {else}
528               rfc2307bis="false"
529 {/if}
530 {if $cv.include_personal_title}
531               personalTitleInDN="true"
532 {else}
533               personalTitleInDN="false"
534 {/if}
535 {if $cv.base_hook_active}
536               nextIdHook="{$cv.base_hook}"
537 {/if}
538 {if $cv.generic_settings.wws_ou_active}
539               sambaMachineAccountBase="{$cv.generic_settings.wws_ou}"
540 {/if}
541 {if $cv.id_settings.idgen_active}
542               idGenerator="{$cv.id_settings.idgen}"
543 {/if}
544 {if $cv.strict}
545               strictNamingRules="true"
546 {else}
547               strictNamingRules="false"
548 {/if}
549 {if $cv.id_settings.minid_active}
550               minid="{$cv.id_settings.minid}"
551 {/if}
552 {if $cv.mail != "disabled"}
553               mailMethod="{$cv.mail}"
554 {if $cv.cyrusunixstyle}
555               cyrusUseSlashes="true"
556 {else}
557               cyrusUseSlashes="false"
558 {/if}
559               mailAttribute="{$cv.mail_attrib}"
560 {if $cv.mail_settings.vacationdir_active}
561               vacationTemplateDirectory="{$cv.mail_settings.vacationdir}"
562 {/if}
563 {/if}
564 {if $cv.tls}
565               ldapTLS="true"
566 {/if}
567 {if $cv.governmentmode}
568               honourIvbbAttributes="true"
569 {else}
570               honourIvbbAttributes="false"
571 {/if}
572 {if $cv.sambaidmapping}
573               sambaIdMapping="true"
574 {/if}
575 {if $cv.account_expiration}
576               handleExpiredAccounts="true"
577 {/if}
578 {if $cv.samba_settings.samba_sid_active}
579               sambaSID="{$cv.samba_settings.samba_sid}"
580 {/if}
581 {if $cv.samba_settings.samba_rid_active}
582               sambaRidBase="{$cv.samba_settings.samba_rid_active}"
583 {/if}
584 {if $cv.generic_settings.snapshot_active}  
585               enableSnapshots="true"
586 {if $cv.generic_settings.snapshot_base != ""}
587               snapshotBase="{$cv.generic_settings.snapshot_base}"
588 {/if}
589 {if $cv.generic_settings.snapshot_user != ""}
590               snapshotAdminDn="{$cv.generic_settings.snapshot_user}"
591 {/if}
592 {if $cv.generic_settings.snapshot_password != ""}
593               snapshotAdminPassword="{$cv.generic_settings.snapshot_password}"
594 {/if}
595 {if $cv.generic_settings.snapshot_server != ""}
596               snapshotURI="{$cv.generic_settings.snapshot_server}"
597 {/if}
598 {/if}
599 {if $cv.samba_version != 0}
600               sambaVersion="{$cv.samba_version}"
601 {else}
602               sambaVersion="3"
603 {/if}
604               configBase="ou=gosa,ou=configs,ou=systems,{$cv.base}">
606               <referral URI="{$cv.connection}/{$cv.base}"
607                         adminDn="{$cv.admin}"
608                         adminPassword="{$cv.password}" />
610     </location>
611   </main>
612 </conf>