Code

We don't need a dhcp and dns activation in the gosa.conf anymore, since GOsa is split...
[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,opsi/opsiGeneric" 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,fai/faiManagement,opsi/opsiProperties" 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/faxreport:self,faxreport" class="faxreport" />
89       <plugin acl="fonreport/fonreport:self,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="terminfo" name="Information" snmpCommunity="{$cv.optional.snmpcommunity}" />
187      <!--<tab class="glpiAccount" name="Inventory" /> -->
188   </termtabs>
190   <servtabs>
191      <tab class="servgeneric" name="Generic" />
192      <tab class="workstartup" name="Startup" />
193      <tab class="ServerService" name="Services" />
194 {if $cv.enableFAI_management}
195      <tab class="faiSummaryTab" name="Deployment summary" />
196      <tab class="gotoLogView" name="Installation logs" />
197 {else}
198      <!-- <tab class="faiSummaryTab" name="Deployment summary" /> -->
199      <!-- <tab class="gotoLogView" name="Installation logs" /> -->
200 {/if}
201      <tab class="terminfo" name="Information" snmpCommunity="{$cv.optional.snmpcommunity}" />
202      <!-- <tab class="glpiAccount" name="Inventory" /> -->
203   </servtabs>
205   <worktabs>
206      <tab class="workgeneric" name="Generic" />
207      <tab class="workstartup" name="Startup" />
208      <tab class="workservice" name="Devices" />
209      <tab class="printgeneric" name="Printer" />
210      <tab class="terminfo" name="Information" snmpCommunity="{$cv.optional.snmpcommunity}" />
211 {if $cv.enableFAI_management}
212      <tab class="faiSummaryTab" name="Deployment summary" />
213      <tab class="gotoLogView" name="Installation logs" />
214 {else}
215      <!-- <tab class="faiSummaryTab" name="Deployment summary" /> -->
216      <!-- <tab class="gotoLogView" name="Installation logs" /> -->
217 {/if}
218      <!-- <tab class="glpiAccount" name="Inventory" /> -->
219   </worktabs>
221   <printtabs>
222      <tab class="printgeneric" name="Generic" />
223      <!-- <tab class="glpiPrinterAccount" name="Inventory" /> -->
224   </printtabs>
226   <componenttabs>
227      <tab class="componentGeneric" name="Generic" />
228      <!-- <tab class="glpiAccount" name="Inventory" /> -->
229   </componenttabs>
231   <wintabs>
232      <tab class="wingeneric" name="Generic" />
233      <!-- <tab class="glpiAccount" name="Inventory" /> -->
234   </wintabs>
236   <serverservice>
237     <tab class="goMailServer" />
238 {if $cv.mail == "kolab"}
239     <tab class="servkolab" />
240 {/if}
241     <tab class="goNtpServer" />
242     <tab class="servrepository" />
243     <tab class="goImapServer" />
244     <tab class="goKrbServer" />
245     <tab class="goFaxServer" />
246     <tab class="goFonServer" />
247     <tab class="goLogDBServer" />
248     <tab class="goGlpiServer" />
249     <tab class="goCupsServer" />
250     <tab class="goKioskService" />
251     <tab class="goSyslogServer" />
252     <tab class="goTerminalServer" />
253     <tab class="goLdapServer" />
254     <tab class="goShareServer" />
255     <tab class="gospamserver" />
256     <tab class="govirusserver" />
257     <tab class="servdhcp" />
258     <tab class="servdns" />
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 {else}
301 <!--
302     <tab class='kolabAccount' />
303 -->
304 {/if}
305     <tab class="proxyAccount" />
306     <tab class="pureftpdAccount" />
307     <tab class="webdavAccount" />
308     <tab class="phpgwAccount" />
309     <tab class="intranetAccount" />
310     <!--
311     <tab class="opengwAccount"
312       username="OGo"
313       password=""
314       database="OGo"
315       databaseServer="localhost" />
316     -->
317     <tab class="pptpAccount" /> 
318     <tab class="phpscheduleitAccount" /> 
319     <tab class="oxchangeAccount" />
320   </connectivity>
322   <ldiftab>
323     <tab class="ldifexport" name="Export" />
324     <tab class="xlsexport" name="Excel Export" />
325     <tab class="ldifimport" name="Import" />
326     <tab class="csvimport" name="CSV Import" />
327   </ldiftab>
329   <!-- FAI plugins -->
330 {if $cv.enableFAI_management}
331   <faipartitiontabs>
332     <tab class="faiPartitionTable" name="Partitions" />
333   </faipartitiontabs>
335   <faiscripttabs>
336     <tab class="faiScript" name="Script" />
337   </faiscripttabs>
339   <faihooktabs>
340     <tab class="faiHook" name="Hooks" />
341   </faihooktabs>
343   <faivariabletabs>
344     <tab class="faiVariable" name="Variables" />
345   </faivariabletabs>
347   <faitemplatetabs>
348     <tab class="faiTemplate" name="Templates" />
349   </faitemplatetabs>
351   <faiprofiletabs>
352     <tab class="faiProfile" name="Profiles" />
353     <tab class="faiSummaryTab" name="Summary" />
354   </faiprofiletabs>
356   <faipackagetabs>
357     <tab class="faiPackage" name="Packages" />
358   </faipackagetabs>
360   <opsitabs>
361     <tab class="opsiGeneric" name="Opsi" />
362     <tab class="opsiSoftware" name="Hardware information" />
363     <tab class="opsiHardware" name="software information" />
364   </opsitabs>
366   <opsiprodconfig>
367     <tab class="opsiProperties" name="Config" />
368   </opsiprodconfig>
369 {else}
370   <!-- 
371   <faipartitiontabs>
372     <tab class="faiPartitionTable" name="Partitions" />
373   </faipartitiontabs>
375   <faiscripttabs>
376     <tab class="faiScript" name="Script" />
377   </faiscripttabs>
379   <faihooktabs>
380     <tab class="faiHook" name="Hooks" />
381   </faihooktabs>
383   <faivariabletabs>
384     <tab class="faiVariable" name="Variables" />
385   </faivariabletabs>
387   <faitemplatetabs>
388     <tab class="faiTemplate" name="Templates" />
389   </faitemplatetabs>
391   <faiprofiletabs>
392     <tab class="faiProfile" name="Profiles" />
393     <tab class="faiSummaryTab" name="Summary" />
394   </faiprofiletabs>
396   <faipackagetabs>
397     <tab class="faiPackage" name="Packages" />
398   </faipackagetabs>
400   <opsitabs>
401     <tab class="opsiGeneric" name="Opsi" />
402     <tab class="opsiSoftware" name="Hardware information" />
403     <tab class="opsiHardware" name="software information" />
404   </opsitabs>
406   <opsiprodconfig>
407     <tab class="opsiProperties" name="Config" />
408   </opsiprodconfig>
409   -->
410 {/if}
413   <!-- Logging plugin -->
414   <logtabs>
415       <tab class="logview" name="System logs" />
416       <tab class="gosa_logview" name="GOsa logs" />
417   </logtabs>
418   
420   <!-- Main section **********************************************************
422        The main section defines global settings, which might be overridden by
423        each location definition inside.
425        For more information about the configuration parameters, take a look at
426        the gosa.conf(5) manual page.
428   -->
429   <main default="{$cv.location}"
430 {if $cv.optional.list_summary}
431         listSummary="true"
432 {else}
433         listSummary="false"
434 {/if}
435 {if $cv.pwd_rules.pwminlen_active}
436         passwordMinLength="{$cv.pwd_rules.pwminlen}"
437 {/if}
438 {if $cv.pwd_rules.pwdiffer_active}
439         passwordMinDiffer="{$cv.pwd_rules.pwdiffer}"
440 {/if}
441 {if $cv.pwd_rules.externalpwdhook_active}
442         passwordHook="{$cv.pwd_rules.externalpwdhook}"
443 {/if}
444 {if $cv.errorlvl}
445         displayErrors="true"
446 {else}
447         displayErrors="false"
448 {/if}
449 {if $cv.enable_schema_check}
450         schemaCheck="true"
451 {else}
452         schemaCheck="false"
453 {/if}
454 {if $cv.generic_settings.enableCopyPaste}
455         copyPaste="true"
456 {else}
457         copyPaste="false"
458 {/if}
459 {if $cv.optional.forceglobals}
460         forceGlobals="true"
461 {else}
462         forceGlobals="false"
463 {/if}
464 {if $cv.optional.forcessl}
465         forceSSL="true"
466 {else}
467         forceSSL="false"
468 {/if}
469 {if $cv.optional.ldapstats}
470         ldapStats="true"
471 {else}
472         ldapStats="false"
473 {/if}
474 {if $cv.optional.warnssl}
475         warnSSL="true"
476 {else}
477         warnSSL="false"
478 {/if}
479 {if $cv.optional.ppd_path_active}
480         ppdPath="{$cv.optional.ppd_path}"
481 {/if}
482 {if $cv.optional.max_ldap_query_time_active}  
483         ldapMaxQueryTime="{$cv.optional.max_ldap_query_time}"
484 {/if}
485 {if $cv.optional.noprimarygroup}
486         primaryGroupFilter="true"
487 {/if}
488 {if $cv.optional.mailQueueScriptPath_active}
489         mailQueueScriptPath="{$cv.optional.mailQueueScriptPath}"
490 {/if}
491 {if $cv.optional.user_filter_cookie}
492         storeFilterSettings="true"
493 {else}
494         storeFilterSettings="false"
495 {/if}
496 {if $cv.compressed}
497         sendCompressedOutput="true"
498 {else}
499         sendCompressedOutput="false"
500 {/if}
501 {if $cv.optional.uniq_identifier_active }
502         modificationDetectionAttribute="{$cv.optional.uniq_identifier}"
503 {else}
504         modificationDetectionAttribute=""
505 {/if}
506         language="{$cv.lang_selected}"
507         theme="{$cv.theme}"
508         sessionLifetime="{$cv.optional.session_lifetime}"
509         templateCompileDirectory="{$cv.optional.compile}"
510         debugLevel="{$cv.optional.debuglevel}"
511         sambaHashHook='{$cv.samba_settings.smbhash}'
512     >
514     <!-- Location definition -->
515     <location name="{$cv.location}"
516               passwordDefaultHash="{$cv.encryption}"
517               accountPrimaryAttribute="{$cv.peopledn}"
518               userRDN="{$cv.peopleou}"
519               groupRDN="{$cv.groupou}"
520               gidNumberBase="{$cv.uidbase}"
521               uidNumberBase="{$cv.uidbase}"
522               logging="{$cv.generic_settings.logging}"
523 {if $cv.optional.sudoou_active}
524               sudoRDN="{$cv.optional.sudoou}"
525 {/if}
526 {if $cv.optional.login_attribute}
527               loginAttribute="{$cv.optional.login_attribute}"
528 {else}
529               loginAttribute="uid"
530 {/if}
531 {if $cv.timezone}
532               timezone="{$cv.timezone}"
533 {/if}
534 {if $cv.optional.strict_units}
535               honourUnitTags="true"
536 {else}
537               honourUnitTags="false"
538 {/if}
539 {if $cv.krbsasl}
540               useSaslForKerberos="true"
541 {else}
542               useSaslForKerberos="false"
543 {/if}
544 {if $cv.rfc2307bis}
545               rfc2307bis="true"
546 {else}
547               rfc2307bis="false"
548 {/if}
549 {if $cv.include_personal_title}
550               personalTitleInDN="true"
551 {else}
552               personalTitleInDN="false"
553 {/if}
554 {if $cv.base_hook_active}
555               nextIdHook="{$cv.base_hook}"
556 {/if}
557 {if $cv.generic_settings.wws_ou_active}
558               sambaMachineAccountRDN="{$cv.generic_settings.wws_ou}"
559 {/if}
560 {if $cv.id_settings.idgen_active}
561               idGenerator="{$cv.id_settings.idgen}"
562 {/if}
563 {if $cv.strict}
564               strictNamingRules="true"
565 {else}
566               strictNamingRules="false"
567 {/if}
568 {if $cv.id_settings.minid_active}
569               minId="{$cv.id_settings.minid}"
570 {/if}
571               mailAttribute="{$cv.mail_attrib}"
572 {if $cv.mail != "disabled"}
573               mailMethod="{$cv.mail}"
574 {if $cv.cyrusunixstyle}
575               cyrusUseSlashes="true"
576 {else}
577               cyrusUseSlashes="false"
578 {/if}
579 {if $cv.mail_settings.vacationdir_active}
580               vacationTemplateDirectory="{$cv.mail_settings.vacationdir}"
581 {/if}
582 {/if}
583 {if $cv.tls}
584               ldapTLS="true"
585 {/if}
586 {if $cv.governmentmode}
587               honourIvbbAttributes="true"
588 {else}
589               honourIvbbAttributes="false"
590 {/if}
591 {if $cv.sambaidmapping}
592               sambaIdMapping="true"
593 {/if}
594 {if $cv.account_expiration}
595               handleExpiredAccounts="true"
596 {/if}
597 {if $cv.samba_settings.samba_sid_active}
598               sambaSID="{$cv.samba_settings.samba_sid}"
599 {/if}
600 {if $cv.samba_settings.samba_rid_active}
601               sambaRidBase="{$cv.samba_settings.samba_rid_active}"
602 {/if}
603 {if $cv.generic_settings.snapshot_active}  
604               enableSnapshots="true"
605 {if $cv.generic_settings.snapshot_base != ""}
606               snapshotBase="{$cv.generic_settings.snapshot_base}"
607 {/if}
608 {if $cv.generic_settings.snapshot_user != ""}
609               snapshotAdminDn="{$cv.generic_settings.snapshot_user}"
610 {/if}
611 {if $cv.generic_settings.snapshot_password != ""}
612               snapshotAdminPassword="{$cv.generic_settings.snapshot_password}"
613 {/if}
614 {if $cv.generic_settings.snapshot_server != ""}
615               snapshotURI="{$cv.generic_settings.snapshot_server}"
616 {/if}
617 {/if}
618 {if $cv.samba_version != 0}
619               sambaVersion="{$cv.samba_version}"
620 {else}
621               sambaVersion="3"
622 {/if}
623               config="ou=gosa,ou=configs,ou=systems,{$cv.base}">
625               <referral URI="{$cv.connection}/{$cv.base}"
626                         adminDn="{$cv.admin}"
627                         adminPassword="{$cv.password}" />
629     </location>
630   </main>
631 </conf>