Code

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