Code

Removed the printer tab from terminals
[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="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>
359 {else}
360   <!-- 
361   <faipartitiontabs>
362     <tab class="faiPartitionTable" name="Partitions" />
363   </faipartitiontabs>
365   <faiscripttabs>
366     <tab class="faiScript" name="Script" />
367   </faiscripttabs>
369   <faihooktabs>
370     <tab class="faiHook" name="Hooks" />
371   </faihooktabs>
373   <faivariabletabs>
374     <tab class="faiVariable" name="Variables" />
375   </faivariabletabs>
377   <faitemplatetabs>
378     <tab class="faiTemplate" name="Templates" />
379   </faitemplatetabs>
381   <faiprofiletabs>
382     <tab class="faiProfile" name="Profiles" />
383     <tab class="faiSummaryTab" name="Summary" />
384   </faiprofiletabs>
386   <faipackagetabs>
387     <tab class="faiPackage" name="Packages" />
388   </faipackagetabs>
389   -->
390 {/if}
393   <!-- Logging plugin -->
394   <logtabs>
395       <tab class="logview" name="System logs" />
396       <tab class="gosa_logview" name="GOsa logs" />
397   </logtabs>
398   
400   <!-- Main section **********************************************************
402        The main section defines global settings, which might be overridden by
403        each location definition inside.
405        For more information about the configuration parameters, take a look at
406        the gosa.conf(5) manual page.
408   -->
409   <main default="{$cv.location}"
410 {if $cv.optional.list_summary}
411         listSummary="true"
412 {else}
413         listSummary="false"
414 {/if}
415 {if $cv.pwd_rules.pwminlen_active}
416         passwordMinLength="{$cv.pwd_rules.pwminlen}"
417 {/if}
418 {if $cv.pwd_rules.pwdiffer_active}
419         passwordMinDiffer="{$cv.pwd_rules.pwdiffer}"
420 {/if}
421 {if $cv.pwd_rules.externalpwdhook_active}
422         passwordHook="{$cv.pwd_rules.externalpwdhook}"
423 {/if}
424 {if $cv.errorlvl}
425         displayErrors="true"
426 {else}
427         displayErrors="false"
428 {/if}
429 {if $cv.enable_schema_check}
430         schemaCheck="true"
431 {else}
432         schemaCheck="false"
433 {/if}
434 {if $cv.generic_settings.enableCopyPaste}
435         copyPaste="true"
436 {else}
437         copyPaste="false"
438 {/if}
439 {if $cv.optional.forceglobals}
440         forceGlobals="true"
441 {else}
442         forceGlobals="false"
443 {/if}
444 {if $cv.optional.forcessl}
445         forceSSL="true"
446 {else}
447         forceSSL="false"
448 {/if}
449 {if $cv.optional.ldapstats}
450         ldapStats="true"
451 {else}
452         ldapStats="false"
453 {/if}
454 {if $cv.optional.warnssl}
455         warnSSL="true"
456 {else}
457         warnSSL="false"
458 {/if}
459 {if $cv.optional.ppd_path_active}
460        ppdPath="{$cv.optional.ppd_path}"
461 {/if}
462 {if $cv.optional.max_ldap_query_time_active}  
463        ldapMaxQueryTime="{$cv.optional.max_ldap_query_time}"
464 {/if}
465 {if $cv.optional.noprimarygroup}
466        primaryGroupFilter="true"
467 {/if}
468 {if $cv.optional.mailQueueScriptPath_active}
469        mailQueueScriptPath="{$cv.optional.mailQueueScriptPath}"
470 {/if}
471 {if $cv.optional.user_filter_cookie}
472        storeFilterSettings="true"
473 {else}
474        storeFilterSettings="false"
475 {/if}
476 {if $cv.compressed}
477        sendCompressedOutput="true"
478 {else}
479        sendCompressedOutput="false"
480 {/if}
481 {if $cv.optional.uniq_identifier_active }
482        modificationDetectionAttribute="{$cv.optional.uniq_identifier}"
483 {else}
484        modificationDetectionAttribute=""
485 {/if}
486        language="{$cv.lang_selected}"
487        theme="{$cv.theme}"
488        sessionLifetime="{$cv.optional.session_lifetime}"
489        templateCompileDirectory="{$cv.optional.compile}"
490        debugLevel="{$cv.optional.debuglevel}"
491        sambaHashHook='{$cv.samba_settings.smbhash}'
492     >
494     <!-- Location definition -->
495     <location name="{$cv.location}"
496               passwordDefaultHash="{$cv.encryption}"
497               accountPrimaryAttribute="{$cv.peopledn}"
498               userRDN="{$cv.peopleou}"
499               groupRDN="{$cv.groupou}"
500               gidNumberBase="{$cv.uidbase}"
501               uidNumberBase="{$cv.uidbase}"
502               logging="{$cv.generic_settings.logging}"
503 {if $cv.optional.sudoou_active}
504               sudoRDN="{$cv.optional.sudoou}"
505 {/if}
506 {if $cv.optional.login_attribute}
507               loginAttribute="{$cv.optional.login_attribute}"
508 {else}
509               loginAttribute="uid"
510 {/if}
511 {if $cv.timezone}
512               timezone="{$cv.timezone}"
513 {/if}
514 {if $cv.optional.strict_units}
515               honourUnitTags="true"
516 {else}
517               honourUnitTags="false"
518 {/if}
519 {if $cv.krbsasl}
520               useSaslForKerberos="true"
521 {else}
522               useSaslForKerberos="false"
523 {/if}
524 {if $cv.rfc2307bis}
525               rfc2307bis="true"
526 {else}
527               rfc2307bis="false"
528 {/if}
529 {if $cv.include_personal_title}
530               personalTitleInDN="true"
531 {else}
532               personalTitleInDN="false"
533 {/if}
534 {if $cv.base_hook_active}
535               nextIdHook="{$cv.base_hook}"
536 {/if}
537 {if $cv.generic_settings.wws_ou_active}
538               sambaMachineAccountBase="{$cv.generic_settings.wws_ou}"
539 {/if}
540 {if $cv.id_settings.idgen_active}
541               idGenerator="{$cv.id_settings.idgen}"
542 {/if}
543 {if $cv.strict}
544               strictNamingRules="true"
545 {else}
546               strictNamingRules="false"
547 {/if}
548 {if $cv.id_settings.minid_active}
549               minId="{$cv.id_settings.minid}"
550 {/if}
551 {if $cv.mail != "disabled"}
552               mailMethod="{$cv.mail}"
553 {if $cv.cyrusunixstyle}
554               cyrusUseSlashes="true"
555 {else}
556               cyrusUseSlashes="false"
557 {/if}
558               mailAttribute="{$cv.mail_attrib}"
559 {if $cv.mail_settings.vacationdir_active}
560               vacationTemplateDirectory="{$cv.mail_settings.vacationdir}"
561 {/if}
562 {/if}
563 {if $cv.tls}
564               ldapTLS="true"
565 {/if}
566 {if $cv.governmentmode}
567               honourIvbbAttributes="true"
568 {else}
569               honourIvbbAttributes="false"
570 {/if}
571 {if $cv.sambaidmapping}
572               sambaIdMapping="true"
573 {/if}
574 {if $cv.account_expiration}
575               handleExpiredAccounts="true"
576 {/if}
577 {if $cv.samba_settings.samba_sid_active}
578               sambaSID="{$cv.samba_settings.samba_sid}"
579 {/if}
580 {if $cv.samba_settings.samba_rid_active}
581               sambaRidBase="{$cv.samba_settings.samba_rid_active}"
582 {/if}
583 {if $cv.generic_settings.snapshot_active}  
584               enableSnapshots="true"
585 {if $cv.generic_settings.snapshot_base != ""}
586               snapshotBase="{$cv.generic_settings.snapshot_base}"
587 {/if}
588 {if $cv.generic_settings.snapshot_user != ""}
589               snapshotAdminDn="{$cv.generic_settings.snapshot_user}"
590 {/if}
591 {if $cv.generic_settings.snapshot_password != ""}
592               snapshotAdminPassword="{$cv.generic_settings.snapshot_password}"
593 {/if}
594 {if $cv.generic_settings.snapshot_server != ""}
595               snapshotURI="{$cv.generic_settings.snapshot_server}"
596 {/if}
597 {/if}
598 {if $cv.samba_version != 0}
599               sambaVersion="{$cv.samba_version}"
600 {else}
601               sambaVersion="3"
602 {/if}
603               configBase="ou=gosa,ou=configs,ou=systems,{$cv.base}">
605               <referral URI="{$cv.connection}/{$cv.base}"
606                         adminDn="{$cv.admin}"
607                         adminPassword="{$cv.password}" />
609     </location>
610   </main>
611 </conf>