Code

Updated gosa.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,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 {if $cv.generic_settings.enableDHCP}
258     <tab class="servdhcp" />
259 {/if}
260 {if $cv.generic_settings.enableDNS}
261     <tab class="servdns" />
262 {/if}
263     <tab class="gosaLogServer" />
264   </serverservice>
266   <!-- Department plugin -->
267   <deptabs>
268     <tab class="department" name="Generic" />
269   </deptabs>
271   <organization_tabs>
272     <tab class="organization" name="Generic" />
273   </organization_tabs>
275   <locality_tabs>
276     <tab class="locality" name="Generic" />
277   </locality_tabs>
279   <country_tabs>
280     <tab class="country" name="Generic" />
281   </country_tabs>
283   <dcobject_tabs>
284     <tab class="dcObject" name="Generic" />
285   </dcobject_tabs>
287   <ogrouptabs>
288     <tab class="ogroup" name="Generic" />
289   </ogrouptabs>
291   <!-- Debian archive management plugin -->
292   <!--
293   <dak_tabs>
294     <tab class="dakrepository" name="Repository" />
295     <tab class="dakqueue" name="Queue" />
296     <tab class="dakkeyring" name="Key ring" />
297   </dak_tabs>
298   -->
300   <!-- Connectivity plugins -->
301   <connectivity>
302 {if $cv.mail == "kolab"}
303     <tab class='kolabAccount' /> 
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>
365 {else}
366   <!-- 
367   <faipartitiontabs>
368     <tab class="faiPartitionTable" name="Partitions" />
369   </faipartitiontabs>
371   <faiscripttabs>
372     <tab class="faiScript" name="Script" />
373   </faiscripttabs>
375   <faihooktabs>
376     <tab class="faiHook" name="Hooks" />
377   </faihooktabs>
379   <faivariabletabs>
380     <tab class="faiVariable" name="Variables" />
381   </faivariabletabs>
383   <faitemplatetabs>
384     <tab class="faiTemplate" name="Templates" />
385   </faitemplatetabs>
387   <faiprofiletabs>
388     <tab class="faiProfile" name="Profiles" />
389     <tab class="faiSummaryTab" name="Summary" />
390   </faiprofiletabs>
392   <faipackagetabs>
393     <tab class="faiPackage" name="Packages" />
394   </faipackagetabs>
396   <opsitabs>
397     <tab class="opsiGeneric" name="Opsi" />
398     <tab class="opsiSoftware" name="Hardware information" />
399     <tab class="opsiHardware" name="software information" />
400   </opsitabs>
402   -->
403 {/if}
406   <!-- Logging plugin -->
407   <logtabs>
408       <tab class="logview" name="System logs" />
409       <tab class="gosa_logview" name="GOsa logs" />
410   </logtabs>
411   
413   <!-- Main section **********************************************************
415        The main section defines global settings, which might be overridden by
416        each location definition inside.
418        For more information about the configuration parameters, take a look at
419        the gosa.conf(5) manual page.
421   -->
422   <main default="{$cv.location}"
423 {if $cv.optional.list_summary}
424         listSummary="true"
425 {else}
426         listSummary="false"
427 {/if}
428 {if $cv.pwd_rules.pwminlen_active}
429         passwordMinLength="{$cv.pwd_rules.pwminlen}"
430 {/if}
431 {if $cv.pwd_rules.pwdiffer_active}
432         passwordMinDiffer="{$cv.pwd_rules.pwdiffer}"
433 {/if}
434 {if $cv.pwd_rules.externalpwdhook_active}
435         passwordHook="{$cv.pwd_rules.externalpwdhook}"
436 {/if}
437 {if $cv.errorlvl}
438         displayErrors="true"
439 {else}
440         displayErrors="false"
441 {/if}
442 {if $cv.enable_schema_check}
443         schemaCheck="true"
444 {else}
445         schemaCheck="false"
446 {/if}
447 {if $cv.generic_settings.enableCopyPaste}
448         copyPaste="true"
449 {else}
450         copyPaste="false"
451 {/if}
452 {if $cv.optional.forceglobals}
453         forceGlobals="true"
454 {else}
455         forceGlobals="false"
456 {/if}
457 {if $cv.optional.forcessl}
458         forceSSL="true"
459 {else}
460         forceSSL="false"
461 {/if}
462 {if $cv.optional.ldapstats}
463         ldapStats="true"
464 {else}
465         ldapStats="false"
466 {/if}
467 {if $cv.optional.warnssl}
468         warnSSL="true"
469 {else}
470         warnSSL="false"
471 {/if}
472 {if $cv.optional.ppd_path_active}
473         ppdPath="{$cv.optional.ppd_path}"
474 {/if}
475 {if $cv.optional.max_ldap_query_time_active}  
476         ldapMaxQueryTime="{$cv.optional.max_ldap_query_time}"
477 {/if}
478 {if $cv.optional.noprimarygroup}
479         primaryGroupFilter="true"
480 {/if}
481 {if $cv.optional.mailQueueScriptPath_active}
482         mailQueueScriptPath="{$cv.optional.mailQueueScriptPath}"
483 {/if}
484 {if $cv.optional.user_filter_cookie}
485         storeFilterSettings="true"
486 {else}
487         storeFilterSettings="false"
488 {/if}
489 {if $cv.compressed}
490         sendCompressedOutput="true"
491 {else}
492         sendCompressedOutput="false"
493 {/if}
494 {if $cv.optional.uniq_identifier_active }
495         modificationDetectionAttribute="{$cv.optional.uniq_identifier}"
496 {else}
497         modificationDetectionAttribute=""
498 {/if}
499         language="{$cv.lang_selected}"
500         theme="{$cv.theme}"
501         sessionLifetime="{$cv.optional.session_lifetime}"
502         templateCompileDirectory="{$cv.optional.compile}"
503         debugLevel="{$cv.optional.debuglevel}"
504         sambaHashHook='{$cv.samba_settings.smbhash}'
505     >
507     <!-- Location definition -->
508     <location name="{$cv.location}"
509               passwordDefaultHash="{$cv.encryption}"
510               accountPrimaryAttribute="{$cv.peopledn}"
511               userRDN="{$cv.peopleou}"
512               groupRDN="{$cv.groupou}"
513               gidNumberBase="{$cv.uidbase}"
514               uidNumberBase="{$cv.uidbase}"
515               logging="{$cv.generic_settings.logging}"
516 {if $cv.optional.sudoou_active}
517               sudoRDN="{$cv.optional.sudoou}"
518 {/if}
519 {if $cv.optional.login_attribute}
520               loginAttribute="{$cv.optional.login_attribute}"
521 {else}
522               loginAttribute="uid"
523 {/if}
524 {if $cv.timezone}
525               timezone="{$cv.timezone}"
526 {/if}
527 {if $cv.optional.strict_units}
528               honourUnitTags="true"
529 {else}
530               honourUnitTags="false"
531 {/if}
532 {if $cv.krbsasl}
533               useSaslForKerberos="true"
534 {else}
535               useSaslForKerberos="false"
536 {/if}
537 {if $cv.rfc2307bis}
538               rfc2307bis="true"
539 {else}
540               rfc2307bis="false"
541 {/if}
542 {if $cv.include_personal_title}
543               personalTitleInDN="true"
544 {else}
545               personalTitleInDN="false"
546 {/if}
547 {if $cv.base_hook_active}
548               nextIdHook="{$cv.base_hook}"
549 {/if}
550 {if $cv.generic_settings.wws_ou_active}
551               sambaMachineAccountBase="{$cv.generic_settings.wws_ou}"
552 {/if}
553 {if $cv.id_settings.idgen_active}
554               idGenerator="{$cv.id_settings.idgen}"
555 {/if}
556 {if $cv.strict}
557               strictNamingRules="true"
558 {else}
559               strictNamingRules="false"
560 {/if}
561 {if $cv.id_settings.minid_active}
562               minId="{$cv.id_settings.minid}"
563 {/if}
564 {if $cv.mail != "disabled"}
565               mailMethod="{$cv.mail}"
566 {if $cv.cyrusunixstyle}
567               cyrusUseSlashes="true"
568 {else}
569               cyrusUseSlashes="false"
570 {/if}
571               mailAttribute="{$cv.mail_attrib}"
572 {if $cv.mail_settings.vacationdir_active}
573               vacationTemplateDirectory="{$cv.mail_settings.vacationdir}"
574 {/if}
575 {/if}
576 {if $cv.tls}
577               ldapTLS="true"
578 {/if}
579 {if $cv.governmentmode}
580               honourIvbbAttributes="true"
581 {else}
582               honourIvbbAttributes="false"
583 {/if}
584 {if $cv.sambaidmapping}
585               sambaIdMapping="true"
586 {/if}
587 {if $cv.account_expiration}
588               handleExpiredAccounts="true"
589 {/if}
590 {if $cv.samba_settings.samba_sid_active}
591               sambaSID="{$cv.samba_settings.samba_sid}"
592 {/if}
593 {if $cv.samba_settings.samba_rid_active}
594               sambaRidBase="{$cv.samba_settings.samba_rid_active}"
595 {/if}
596 {if $cv.generic_settings.snapshot_active}  
597               enableSnapshots="true"
598 {if $cv.generic_settings.snapshot_base != ""}
599               snapshotBase="{$cv.generic_settings.snapshot_base}"
600 {/if}
601 {if $cv.generic_settings.snapshot_user != ""}
602               snapshotAdminDn="{$cv.generic_settings.snapshot_user}"
603 {/if}
604 {if $cv.generic_settings.snapshot_password != ""}
605               snapshotAdminPassword="{$cv.generic_settings.snapshot_password}"
606 {/if}
607 {if $cv.generic_settings.snapshot_server != ""}
608               snapshotURI="{$cv.generic_settings.snapshot_server}"
609 {/if}
610 {/if}
611 {if $cv.samba_version != 0}
612               sambaVersion="{$cv.samba_version}"
613 {else}
614               sambaVersion="3"
615 {/if}
616               config="ou=gosa,ou=configs,ou=systems,{$cv.base}">
618               <referral URI="{$cv.connection}/{$cv.base}"
619                         adminDn="{$cv.admin}"
620                         adminPassword="{$cv.password}" />
622     </location>
623   </main>
624 </conf>