Code

Finalized first version of gosa.conf
[gosa.git] / gosa-core / contrib / gosa.conf
1 {literal}<?xml version="1.0"?>{/literal}
2 <conf config_version="{$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 'lock_dn'      for dn
69         'lock_name'    for name
70         'lock_type'    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="printgeneric" name="Printer" />
187      <tab class="terminfo" name="Information" snmpcommunity="{$cv.optional.snmpcommunity}" />
188      <!--<tab class="glpiAccount" name="Inventory" /> -->
189   </termtabs>
191   <servtabs>
192      <tab class="servgeneric" name="Generic" />
193      <tab class="workstartup" name="Startup" />
194      <tab class="ServerService" name="Services" />
195 {if $cv.enableFAI_management}
196      <tab class="faiSummaryTab" name="Deployment summary" />
197      <tab class="goto_log_view" name="Installation logs" />
198 {else}
199      <!-- <tab class="faiSummaryTab" name="Deployment summary" /> -->
200      <!-- <tab class="goto_log_view" name="Installation logs" /> -->
201 {/if}
202      <tab class="terminfo" name="Information" snmpcommunity="{$cv.optional.snmpcommunity}" />
203      <!-- <tab class="glpiAccount" name="Inventory" /> -->
204   </servtabs>
206   <worktabs>
207      <tab class="workgeneric" name="Generic" />
208      <tab class="workstartup" name="Startup" />
209      <tab class="workservice" name="Devices" />
210      <tab class="printgeneric" name="Printer" />
211      <tab class="terminfo" name="Information" snmpcommunity="{$cv.optional.snmpcommunity}" />
212 {if $cv.enableFAI_management}
213      <tab class="faiSummaryTab" name="Deployment summary" />
214      <tab class="goto_log_view" name="Installation logs" />
215 {else}
216      <!-- <tab class="faiSummaryTab" name="Deployment summary" /> -->
217      <!-- <tab class="goto_log_view" name="Installation logs" /> -->
218 {/if}
219      <!-- <tab class="glpiAccount" name="Inventory" /> -->
220   </worktabs>
222   <printtabs>
223      <tab class="printgeneric" name="Generic" />
224      <!-- <tab class="glpiPrinterAccount" name="Inventory" /> -->
225   </printtabs>
227   <componenttabs>
228      <tab class="componentGeneric" name="Generic" />
229      <!-- <tab class="glpiAccount" name="Inventory" /> -->
230   </componenttabs>
232   <wintabs>
233      <tab class="wingeneric" name="Generic" />
234      <!-- <tab class="glpiAccount" name="Inventory" /> -->
235   </wintabs>
237   <serverservice>
238     <tab class="goMailServer" />
239 {if $cv.mail == "kolab"}
240     <tab class="servkolab" />
241 {/if}
242     <tab class="goNtpServer" />
243     <tab class="servrepository" />
244     <tab class="goImapServer" />
245     <tab class="goKrbServer" />
246     <tab class="goFaxServer" />
247     <tab class="goFonServer" />
248     <tab class="goLogDBServer" />
249     <tab class="goGlpiServer" />
250     <tab class="goCupsServer" />
251     <tab class="goKioskService" />
252     <tab class="goSyslogServer" />
253     <tab class="goTerminalServer" />
254     <tab class="goLdapServer" />
255     <tab class="goShareServer" />
256 {if $cv.generic_settings.enableDHCP}
257     <tab class="servdhcp" />
258 {/if}
259 {if $cv.generic_settings.enableDNS}
260     <tab class="servdns" />
261 {/if}
262     <tab class="gosaLogServer" />
263   </serverservice>
265   <!-- Department plugin -->
266   <deptabs>
267     <tab class="department" name="Generic" />
268   </deptabs>
270   <organization_tabs>
271     <tab class="organization" name="Generic" />
272   </organization_tabs>
274   <locality_tabs>
275     <tab class="locality" name="Generic" />
276   </locality_tabs>
278   <country_tabs>
279     <tab class="country" name="Generic" />
280   </country_tabs>
282   <dcobject_tabs>
283     <tab class="dcObject" name="Generic" />
284   </dcobject_tabs>
286   <ogrouptabs>
287     <tab class="ogroup" name="Generic" />
288   </ogrouptabs>
290   <!-- Debian archive management plugin -->
291   <!--
292   <dak_tabs>
293     <tab class="dakrepository" name="Repository" />
294     <tab class="dakqueue" name="Queue" />
295     <tab class="dakkeyring" name="Key ring" />
296   </dak_tabs>
297   -->
299   <!-- Connectivity plugins -->
300   <connectivity>
301 {if $cv.mail == "kolab"}
302     <tab class='kolabAccount' /> 
303 {/if}
304     <tab class="proxyAccount" />
305     <tab class="pureftpdAccount" />
306     <tab class="webdavAccount" />
307     <tab class="phpgwAccount" />
308     <tab class="intranetAccount" />
309     <!--
310     <tab class="opengwAccount"
311       username="OGo"
312       password=""
313       database="OGo"
314       datahost="localhost" />
315     -->
316     <tab class="pptpAccount" /> 
317     <tab class="phpscheduleitAccount" /> 
318         <tab class="oxchangeAccount" />
319   </connectivity>
321   <ldiftab>
322     <tab class="ldifexport" name="Export" />
323     <tab class="xlsexport" name="Excel Export" />
324     <tab class="ldifimport" name="Import" />
325     <tab class="csvimport" name="CSV Import" />
326   </ldiftab>
328   <!-- FAI plugins -->
329 {if $cv.enableFAI_management}
330   <faipartitiontabs>
331     <tab class="faiPartitionTable" name="Partitions" />
332   </faipartitiontabs>
334   <faiscripttabs>
335     <tab class="faiScript" name="Script" />
336   </faiscripttabs>
338   <faihooktabs>
339     <tab class="faiHook" name="Hooks" />
340   </faihooktabs>
342   <faivariabletabs>
343     <tab class="faiVariable" name="Variables" />
344   </faivariabletabs>
346   <faitemplatetabs>
347     <tab class="faiTemplate" name="Templates" />
348   </faitemplatetabs>
350   <faiprofiletabs>
351     <tab class="faiProfile" name="Profiles" />
352     <tab class="faiSummaryTab" name="Summary" />
353   </faiprofiletabs>
355   <faipackagetabs>
356     <tab class="faiPackage" name="Packages" />
357   </faipackagetabs>
358 {else}
359   <!-- 
360   <faipartitiontabs>
361     <tab class="faiPartitionTable" name="Partitions" />
362   </faipartitiontabs>
364   <faiscripttabs>
365     <tab class="faiScript" name="Script" />
366   </faiscripttabs>
368   <faihooktabs>
369     <tab class="faiHook" name="Hooks" />
370   </faihooktabs>
372   <faivariabletabs>
373     <tab class="faiVariable" name="Variables" />
374   </faivariabletabs>
376   <faitemplatetabs>
377     <tab class="faiTemplate" name="Templates" />
378   </faitemplatetabs>
380   <faiprofiletabs>
381     <tab class="faiProfile" name="Profiles" />
382     <tab class="faiSummaryTab" name="Summary" />
383   </faiprofiletabs>
385   <faipackagetabs>
386     <tab class="faiPackage" name="Packages" />
387   </faipackagetabs>
388   -->
389 {/if}
392   <!-- Logging plugin -->
393   <logtabs>
394       <tab class="logview" name="System logs" />
395       <tab class="gosa_logview" name="GOsa logs" />
396   </logtabs>
397   
399   <!-- Main section **********************************************************
401        The main section defines global settings, which might be overridden by
402        each location definition inside.
404        For more information about the configuration parameters, take a look at
405        the gosa.conf(5) manual page.
407   -->
408   <main default="{$cv.location}"
409 {if $cv.optional.list_summary}
410         list_summary="true"
411 {else}
412         list_summary="false"
413 {/if}
414 {if $cv.pwd_rules.pwminlen_active}
415         pwminlen="{$cv.pwd_rules.pwminlen}"
416 {/if}
417 {if $cv.pwd_rules.pwdiffer_active}
418         pwdiffer="{$cv.pwd_rules.pwdiffer}"
419 {/if}
420 {if $cv.pwd_rules.externalpwdhook_active}
421         externalpwdhook="{$cv.pwd_rules.externalpwdhook}"
422 {/if}
423 {if $cv.errorlvl}
424         displayerrors="true"
425 {else}
426         displayerrors="false"
427 {/if}
428 {if $cv.enable_schema_check}
429         schema_check="true"
430 {else}
431         schema_check="false"
432 {/if}
433 {if $cv.generic_settings.enableCopyPaste}
434         enableCopyPaste="true"
435 {else}
436         enableCopyPaste="false"
437 {/if}
438 {if $cv.optional.forceglobals}
439         forceglobals="true"
440 {else}
441         forceglobals="false"
442 {/if}
443 {if $cv.optional.forcessl}
444         forcessl="true"
445 {else}
446         forcessl="false"
447 {/if}
448 {if $cv.optional.ldapstats}
449         ldapstats="true"
450 {else}
451         ldapstats="false"
452 {/if}
453 {if $cv.optional.warnssl}
454         warnssl="true"
455 {else}
456         warnssl="false"
457 {/if}
458 {if $cv.optional.ppd_path_active}
459        ppd_path="{$cv.optional.ppd_path}"
460 {/if}
461 {if $cv.optional.max_ldap_query_time_active}  
462        max_ldap_query_time="{$cv.optional.max_ldap_query_time}"
463 {/if}
464 {if $cv.optional.noprimarygroup}
465        noprimarygroup="true"
466 {/if}
467 {if $cv.optional.mailQueueScriptPath_active}
468        mailQueueScriptPath="{$cv.optional.mailQueueScriptPath}"
469 {/if}
470 {if $cv.optional.user_filter_cookie}
471        save_filter="true"
472 {else}
473        save_filter="false"
474 {/if}
475 {if $cv.compressed}
476        compressed="true"
477 {else}
478        compressed="false"
479 {/if}
480 {if $cv.optional.uniq_identifier_active }
481        uniq_identifier="{$cv.optional.uniq_identifier}"
482 {else}
483        uniq_identifier=""
484 {/if}
485        lang="{$cv.lang_selected}"
486        theme="{$cv.theme}"
487        session_lifetime="{$cv.optional.session_lifetime}"
488        compile="{$cv.optional.compile}"
489        debuglevel="{$cv.optional.debuglevel}"
490        smbhash='{$cv.samba_settings.smbhash}'
491     >
493     <!-- Location definition -->
494     <location name="{$cv.location}"
495               hash="{$cv.encryption}"
496               dnmode="{$cv.peopledn}"
497               people="{$cv.peopleou}"
498               groups="{$cv.groupou}"
499               gidbase="{$cv.uidbase}"
500               uidbase="{$cv.uidbase}"
501               logging="{$cv.generic_settings.logging}"
502 {if $cv.optional.sudoou_active}
503               sudoou="{$cv.optional.sudoou}"
504 {/if}
505 {if $cv.optional.login_attribute}
506               login_attribute="{$cv.optional.login_attribute}"
507 {else}
508               login_attribute="uid"
509 {/if}
510 {if $cv.timezone}
511               timezone="{$cv.timezone}"
512 {/if}
513 {if $cv.optional.strict_units}
514               strict_units="true"
515 {else}
516               strict_units="false"
517 {/if}
518 {if $cv.krbsasl}
519               krbsasl="true"
520 {else}
521               krbsasl="false"
522 {/if}
523 {if $cv.rfc2307bis}
524               rfc2307bis="true"
525 {else}
526               rfc2307bis="false"
527 {/if}
528 {if $cv.include_personal_title}
529               include_personal_title="true"
530 {else}
531               include_personal_title="false"
532 {/if}
533 {if $cv.base_hook_active}
534               base_hook="{$cv.base_hook}"
535 {/if}
536 {if $cv.generic_settings.wws_ou_active}
537               winstations="{$cv.generic_settings.wws_ou}"
538 {/if}
539 {if $cv.id_settings.idgen_active}
540               idgen="{$cv.id_settings.idgen}"
541 {/if}
542 {if $cv.strict}
543               strict="yes"
544 {else}
545               strict="no"
546 {/if}
547 {if $cv.id_settings.minid_active}
548               minid="{$cv.id_settings.minid}"
549 {/if}
550 {if $cv.mail != "disabled"}
551               mailMethod="{$cv.mail}"
552 {if $cv.cyrusunixstyle}
553               cyrusunixstyle="true"
554 {else}
555               cyrusunixstyle="false"
556 {/if}
557               mail_attrib="{$cv.mail_attrib}"
558 {if $cv.mail_settings.vacationdir_active}
559               vacationdir="{$cv.mail_settings.vacationdir}"
560 {/if}
561 {/if}
562 {if $cv.tls}
563               tls="true"
564 {/if}
565 {if $cv.governmentmode}
566               governmentmode="true"
567 {else}
568               governmentmode="false"
569 {/if}
570 {if $cv.sambaidmapping}
571               sambaidmapping="true"
572 {/if}
573 {if $cv.account_expiration}
574               account_expiration="true"
575 {/if}
576 {if $cv.samba_settings.samba_sid_active}
577               SID="{$cv.samba_settings.samba_sid}"
578 {/if}
579 {if $cv.samba_settings.samba_rid_active}
580               RIDBASE="{$cv.samba_settings.samba_rid_active}"
581 {/if}
582 {if $cv.generic_settings.snapshot_active}  
583               enable_snapshot="true"
584 {if $cv.generic_settings.snapshot_base != ""}
585               snapshot_base="{$cv.generic_settings.snapshot_base}"
586 {/if}
587 {if $cv.generic_settings.snapshot_user != ""}
588               snapshot_user="{$cv.generic_settings.snapshot_user}"
589 {/if}
590 {if $cv.generic_settings.snapshot_password != ""}
591               snapshot_password="{$cv.generic_settings.snapshot_password}"
592 {/if}
593 {if $cv.generic_settings.snapshot_server != ""}
594               snapshot_server="{$cv.generic_settings.snapshot_server}"
595 {/if}
596 {/if}
597 {if $cv.samba_version != 0}
598               sambaversion="{$cv.samba_version}"
599 {/if}
600               config="ou=gosa,ou=configs,ou=systems,{$cv.base}">
602               <referral url="{$cv.connection}/{$cv.base}"
603                        admin="{$cv.admin}"
604                        password="{$cv.password}" />
606     </location>
607   </main>
608 </conf>