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       <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         ppdPath="{$cv.optional.ppd_path}"
414 {/if}
415 {if $cv.optional.max_ldap_query_time_active}  
416         ldapMaxQueryTime="{$cv.optional.max_ldap_query_time}"
417 {/if}
418 {if $cv.optional.noprimarygroup}
419         primaryGroupFilter="true"
420 {/if}
421 {if $cv.optional.mailQueueScriptPath_active}
422         mailQueueScriptPath="{$cv.optional.mailQueueScriptPath}"
423 {/if}
424 {if $cv.optional.user_filter_cookie}
425         storeFilterSettings="true"
426 {else}
427         storeFilterSettings="false"
428 {/if}
429 {if $cv.compressed}
430         sendCompressedOutput="true"
431 {else}
432         sendCompressedOutput="false"
433 {/if}
434 {if $cv.optional.uniq_identifier_active }
435         modificationDetectionAttribute="{$cv.optional.uniq_identifier}"
436 {else}
437         modificationDetectionAttribute=""
438 {/if}
439         language="{$cv.lang_selected}"
440         theme="{$cv.theme}"
441         sessionLifetime="{$cv.optional.session_lifetime}"
442         templateCompileDirectory="{$cv.optional.compile}"
443         debugLevel="{$cv.optional.debuglevel}"
444         sambaHashHook='{$cv.samba_settings.smbhash}'
445     >
447     <!-- Location definition -->
448     <location name="{$cv.location}"
449               passwordDefaultHash="{$cv.encryption}"
450               accountPrimaryAttribute="{$cv.peopledn}"
451               userRDN="{$cv.peopleou}"
452               groupRDN="{$cv.groupou}"
453               gidNumberBase="{$cv.uidbase}"
454               uidNumberBase="{$cv.uidbase}"
455               logging="{$cv.generic_settings.logging}"
456 {if $cv.optional.sudoou_active}
457               sudoRDN="{$cv.optional.sudoou}"
458 {/if}
459 {if $cv.optional.login_attribute}
460               loginAttribute="{$cv.optional.login_attribute}"
461 {else}
462               loginAttribute="uid"
463 {/if}
464 {if $cv.timezone}
465               timezone="{$cv.timezone}"
466 {/if}
467 {if $cv.optional.strict_units}
468               honourUnitTags="true"
469 {else}
470               honourUnitTags="false"
471 {/if}
472 {if $cv.krbsasl}
473               useSaslForKerberos="true"
474 {else}
475               useSaslForKerberos="false"
476 {/if}
477 {if $cv.rfc2307bis}
478               rfc2307bis="true"
479 {else}
480               rfc2307bis="false"
481 {/if}
482 {if $cv.include_personal_title}
483               personalTitleInDN="true"
484 {else}
485               personalTitleInDN="false"
486 {/if}
487 {if $cv.base_hook_active}
488               nextIdHook="{$cv.base_hook}"
489 {/if}
490 {if $cv.generic_settings.wws_ou_active}
491               sambaMachineAccountRDN="{$cv.generic_settings.wws_ou}"
492 {/if}
493 {if $cv.id_settings.idgen_active}
494               idGenerator="{$cv.id_settings.idgen}"
495 {/if}
496 {if $cv.strict}
497               strictNamingRules="true"
498 {else}
499               strictNamingRules="false"
500 {/if}
501 {if $cv.id_settings.minid_active}
502               minId="{$cv.id_settings.minid}"
503 {/if}
504               mailAttribute="{$cv.mail_attrib}"
505 {if $cv.mail != "disabled"}
506               mailMethod="{$cv.mail}"
507 {if $cv.cyrusunixstyle}
508               cyrusUseSlashes="true"
509 {else}
510               cyrusUseSlashes="false"
511 {/if}
512 {if $cv.mail_settings.vacationdir_active}
513               vacationTemplateDirectory="{$cv.mail_settings.vacationdir}"
514 {/if}
515 {/if}
516 {if $cv.tls}
517               ldapTLS="true"
518 {/if}
519 {if $cv.governmentmode}
520               honourIvbbAttributes="true"
521 {else}
522               honourIvbbAttributes="false"
523 {/if}
524 {if $cv.sambaidmapping}
525               sambaIdMapping="true"
526 {/if}
527 {if $cv.account_expiration}
528               handleExpiredAccounts="true"
529 {/if}
530 {if $cv.samba_settings.samba_sid_active}
531               sambaSID="{$cv.samba_settings.samba_sid}"
532 {/if}
533 {if $cv.samba_settings.samba_rid_active}
534               sambaRidBase="{$cv.samba_settings.samba_rid_active}"
535 {/if}
536 {if $cv.generic_settings.snapshot_active}  
537               enableSnapshots="true"
538 {if $cv.generic_settings.snapshot_base != ""}
539               snapshotBase="{$cv.generic_settings.snapshot_base}"
540 {/if}
541 {if $cv.generic_settings.snapshot_user != ""}
542               snapshotAdminDn="{$cv.generic_settings.snapshot_user}"
543 {/if}
544 {if $cv.generic_settings.snapshot_password != ""}
545               snapshotAdminPassword="{$cv.generic_settings.snapshot_password}"
546 {/if}
547 {if $cv.generic_settings.snapshot_server != ""}
548               snapshotURI="{$cv.generic_settings.snapshot_server}"
549 {/if}
550 {/if}
551 {if $cv.samba_version != 0}
552               sambaVersion="{$cv.samba_version}"
553 {else}
554               sambaVersion="3"
555 {/if}
556               config="ou=gosa,ou=configs,ou=systems,{$cv.base}">
558               <referral URI="{$cv.connection}/{$cv.base}"
559                         adminDn="{$cv.admin}"
560                         adminPassword="{$cv.password}" />
562     </location>
563   </main>
564 </conf>