{literal}<?xml version="1.0"?>{/literal}
<conf>
	<menu>
		<section name="My account">
			<plugin acl="default" class="user" icon="personal.png"
				path="plugins/personal/generic" />
			<plugin acl="default" class="posixAccount" icon="posix.png"
				path="plugins/personal/posix" />
			<plugin acl="default" class="environment" icon="env.png"
{if $cv.optional.kioskpath_active}
				kioskpath="{$cv.optional.kioskpath}"
{/if}
				path="plugins/personal/environment" />
			<plugin acl="default" class="mailAccount" icon="email.png"
				path="plugins/personal/mail" />
			<plugin acl="default" class="sambaAccount" icon="samba.png"
				path="plugins/personal/samba" />
{if $cv.use_netatalk}
			<plugin acl="default" class="netatalk" icon="netatalk.png"
				path="plugins/personal/netatalk" />
{else}
<!--
			<plugin acl="default" class="netatalk" icon="netatalk.png"
				path="plugins/personal/netatalk" />
-->
{/if}
			<plugin acl="default" class="connectivity" icon="proxy.png"
				path="plugins/personal/connectivity" />
			<plugin acl="default" class="gofaxAccount" icon="fax.png"
				path="plugins/gofax/faxaccount" />
			<plugin acl="default" class="phoneAccount" icon="phone.png"
				path="plugins/gofon/phoneaccount" />
<!-- 
			<plugin acl="default" class="nagiosAccount" icon="monitoring.png"
				path="plugins/personal/nagios" /> 
-->
<!--
			<plugin acl="default" class="scalixAccount" icon="scalix.png"
				path="plugins/personal/scalix/" />
-->
			<plugin acl="default" class="password" icon="password.png"
				path="plugins/personal/password" />
		</section>
		
		<section name="Administration">
			<plugin acl="user" class="userManagement" icon="user.png"
				path="plugins/admin/users" />
			<plugin acl="group" class="groupManagement" icon="group.png"
				path="plugins/admin/groups" />
			<plugin acl="ogroup" class="ogroupManagement" icon="ogroup.png"
				path="plugins/admin/ogroups" />
			<plugin acl="department" class="departmentManagement" icon="department.png"
				path="plugins/admin/departments" />
			<plugin acl="application" class="applicationManagement"
				icon="application.png" path="plugins/admin/applications" />

{if $cv.enableMimeType}
			<plugin acl="mimetype" class="mimetypeManagement"
				icon="mimetypes.png" path="plugins/admin/mimetypes" />
{else}
<!--
			<plugin acl="mimetype" class="mimetypeManagement"
				icon="mimetypes.png" path="plugins/admin/mimetypes" />
-->
{/if}
			<plugin acl="systems" class="systems" icon="system.png"
				path="plugins/admin/systems" />
			<!-- Use 'lock_dn'      for dn
				'lock_name'    for name
				'lock_type'    for branch/freeze -->

{if $cv.enableFAI_management}
			<plugin acl="FAIclass" class="faiManagement" icon="fai.png" 
				path="plugins/admin/fai" />
{else}
<!--
			<plugin acl="FAIclass" class="faiManagement" icon="fai.png" 
				path="plugins/admin/fai" />
-->
{/if}
			<plugin acl="blocklists" class="blocklist" icon="blocklists.png"
				path="plugins/gofax/blocklists" />
			<plugin acl="goFonMacro" class="gofonMacro" icon="macros.png"
				path="plugins/gofon/macro" />
			<plugin acl="conference" class="phoneConferenceManagment" icon="conference.png"
				path="plugins/gofon/conference" />
		</section>

		<section name="Addons">
			<plugin acl="addressbook" class="addressbook" icon="addressbook.png"
				path="plugins/addons/addressbook" />
			<plugin acl="faxreport" class="faxreport" icon="reports.png"
				path="plugins/gofax/faxreports" />
			<plugin acl="fonreport" class="fonreport" icon="phonereport.png"
				path="plugins/gofon/fonreports" />
			<plugin acl="logview" class="logview" icon="logview.png"
				path="plugins/addons/logview" />
			<plugin acl="mailqueue" class="mailqueue" icon="mailqueue.png"
				path="plugins/addons/mailqueue" />
			<plugin acl="ldapmanager" class="ldif" icon="ldif.png"
				path="plugins/addons/ldapmanager" />
<!--
			<plugin acl="notifications" class="msgplug" icon="notifications.png"
				path="plugins/addons/notifications" />
-->
{if $cv.optional.gotomasses_active}
			<plugin acl="gotomasses" class="gotomasses" icon="system.png"
				storage_file="{$cv.optional.gotomasses_file}"
				path="plugins/addons/gotomasses" />
{else}
<!--
			<plugin acl="gotomasses" class="gotomasses" icon="system.png"
				path="plugins/addons/gotomasses" />
-->
{/if}
		</section>
	</menu>

	<usertabs>
		<tab class="user" name="Generic" />
		<tab class="posixAccount" name="Unix" />
		<tab class="environment" name="Environment" />
		<tab class="mailAccount" name="Mail" />
		<tab class="sambaAccount" name="Samba" />
{if $cv.use_netatalk}
		<tab class="netatalk" name="Netatalk" />
{else}
<!--
		<tab class="netatalk" name="Netatalk" />
-->
{/if}
		<tab class="connectivity" name="Connectivity" />
		<tab class="gofaxAccount" name="Fax" />
		<tab class="phoneAccount" name="Phone" />
<!--
		<tab class="scalixAccount" name="Scalix" />
-->
<!--            
		<tab class="nagiosAccount" name="Nagios" /> 
-->
	</usertabs>

	<mimetabs>
		<tab class="mimetype" name="Generic" />
	</mimetabs>

	<grouptabs>
		<tab class="group" name="Generic" />
		<tab class="environment" name="Environment" />
		<tab class="appgroup" name="Applications" />
		<tab class="mailgroup" name="Mail" />
		<tab class="acl" name="ACL" />
		<tab class="reference" name="References" />
	</grouptabs>

	<appstabs>
		<tab class="application" name="Generic" />
		<tab class="applicationParameters" name="Options" />
		<tab class="reference" name="References" />
	</appstabs>

	<conferencetabs>
		<tab class="conference" name="Generic" />
		<tab class="reference" name="References" />
	</conferencetabs>

	<macrotabs>
		<tab class="macro" name="Generic" />
		<tab class="macroParameter" name="Parameter" />
		<tab class="reference" name="References" />
	</macrotabs>

<!--
	<arpnewdevicetabs>
		<tab class="ArpNewDevice" name="Generic" />
	</arpnewdevicetabs>
-->

	<termtabs>
		<tab class="termgeneric" name="Generic" />
		<tab class="termstartup" name="Startup" />
		<tab class="termservice" name="Devices" />
		<tab class="terminfo" name="Information" 
			snmpcommunity="{$cv.optional.snmpcommunity}" />
		<tab class="glpiAccount" name="Inventory" />
		<tab class="reference" name="References" />
	</termtabs>

	<servtabs>
		<tab class="servgeneric" name="Generic" />
		<tab class="workstartup" name="Startup" />
		<tab class="servdb" name="Databases" />
		<tab class="servservice" name="Services" />
{if $cv.mail == "kolab"}
		<tab class="servkolab" name="Kolab"/>
{/if}
		<tab class="servrepository" name="Repository" />
{if $cv.enableFAI_management}
		<tab class="faiSummaryTab" name="FAI summary" />
{else}
<!--   <tab class="faiSummaryTab" name="FAI summary" /> -->
{/if}
{if $cv.generic_settings.enableDNS}
		<tab class="servdns" name="DNS" />
{else}
<!--   <tab class="servdns" name="DNS" /> -->
{/if}
{if $cv.generic_settings.enableDHCP}
		<tab class="servdhcp" name="DHCP" />
{else}
<!--   <tab class="servdhcp" name="DHCP" /> -->
{/if}
		<tab class="terminfo" name="Information" 
			snmpcommunity="{$cv.optional.snmpcommunity}" />
		<tab class="glpiAccount" name="Inventory" />
		<tab class="reference" name="References" />
	</servtabs>

	<worktabs>
		<tab class="workgeneric" name="Generic" />
		<tab class="workstartup" name="Startup" />
		<tab class="workservice" name="Devices" />
		<tab class="printgeneric" name="Printer" />
		<tab class="terminfo" name="Information" 
			snmpcommunity="{$cv.optional.snmpcommunity}" />
{if $cv.enableFAI_management}
		<tab class="faiSummaryTab" name="FAI summary" />
{else}
<!--    <tab class="faiSummaryTab" name="FAI summary" /> -->
{/if}
		<tab class="glpiAccount" name="Inventory" />
		<tab class="reference" name="References" />
	</worktabs>

	<printtabs>
		<tab class="printgeneric" name="Generic" />
		<tab class="glpiPrinterAccount" name="Inventory" />
		<tab class="reference" name="References" />
	</printtabs>

	<phonetabs>
		<tab class="phonegeneric" name="Generic" />
		<tab class="glpiAccount" name="Inventory" />
		<tab class="reference" name="References" />
	</phonetabs>

	<serverservice>
		<tab class="goMailServer" />
		<tab class="goNtpServer" />
		<tab class="servrepository" />
		<tab class="goImapServer" />
		<tab class="goKrbServer" />
		<tab class="goFaxServer" />
		<tab class="goFonServer" />
		<tab class="goLogDBServer" />
		<tab class="goGlpiServer" />
		<tab class="goCupsServer" />
		<tab class="goSyslogServer" />
		<tab class="goTerminalServer" />
		<tab class="goLdapServer" />
		<tab class="goShareServer" />
	</serverservice>

	<componenttabs>
		<tab class="componentgeneric" name="Generic" />
	   	<tab class="glpiAccount" name="Inventory" />
		<tab class="reference" name="References" />
	</componenttabs>

	<wintabs>
		<tab class="wingeneric" name="Generic" />
		<tab class="glpiAccount" name="Inventory" />
		<tab class="reference" name="References" />
	</wintabs>

	<deptabs>
		<tab class="department" name="Generic" />
	</deptabs>

	<ogrouptabs>
		<tab class="ogroup" name="Generic" />
	</ogrouptabs>

	<connectivity>
{if $cv.mail == "kolab"}
		<tab class='kolabAccount' /> 
{/if}
		<tab class="proxyAccount" />
		<tab class="pureftpdAccount" />
		<tab class="webdavAccount" />
		<tab class="phpgwAccount" />
		<tab class="intranetAccount" />
		<tab class="opengwAccount"
			username="OGo"
			password=""
			database="OGo"
			datahost="localhost" />
<!--	
		<tab class="pptpAccount" /> 
		<tab class="phpscheduleitAccount" /> 
		<tab class="glpiAccount" /> 
-->
	</connectivity>

	<ldiftab>
		<tab class="ldifexport" name="Export" />
		<tab class="xlsexport" name="Excel Export" />
		<tab class="ldifimport" name="Import" />
		<tab class="csvimport" name="CSV Import" />
	</ldiftab>

{if $cv.enableFAI_management}
	<faipartitiontabs>
		<tab class="faiPartitionTable" name="Partitions" />
	</faipartitiontabs>

	<faiscripttabs>
		<tab class="faiScript" name="Script" />
	</faiscripttabs>

	<faihooktabs>
		<tab class="faiHook" name="Hooks" />
	</faihooktabs>

	<faivariabletabs>
		<tab class="faiVariable" name="Variables" />
	</faivariabletabs>

	<faitemplatetabs>
		<tab class="faiTemplate" name="Templates" />
	</faitemplatetabs>

	<faiprofiletabs>
		<tab class="faiProfile" name="Profiles" />
		<tab class="faiSummaryTab" name="Summary" />
	</faiprofiletabs>

	<faipackagetabs>
		<tab class="faiPackage" name="Packages" />
	</faipackagetabs>
{else}
<!-- 
	<faipartitiontabs>
		<tab class="faiPartitionTable" name="Partitions" />
	</faipartitiontabs>

	<faiscripttabs>
		<tab class="faiScript" name="Script" />
	</faiscripttabs>

	<faihooktabs>
		<tab class="faiHook" name="Hooks" />
	</faihooktabs>

	<faivariabletabs>
		<tab class="faiVariable" name="Variables" />
	</faivariabletabs>

	<faitemplatetabs>
		<tab class="faiTemplate" name="Templates" />
	</faitemplatetabs>

	<faiprofiletabs>
		<tab class="faiProfile" name="Profiles" />
		<tab class="faiSummaryTab" name="Summary" />
	</faiprofiletabs>

	<faipackagetabs>
		<tab class="faiPackage" name="Packages" />
	</faipackagetabs>
-->
{/if}
	
	<main default="{$cv.location}"
{if $cv.optional.list_summary}
		list_summary="true"
{else}
		list_summary="false"
{/if}
{if $cv.pwd_rules.pwminlen_active}
		pwminlen="{$cv.pwd_rules.pwminlen}"
{/if}
{if $cv.pwd_rules.pwdiffer_active}
		pwdiffer="{$cv.pwd_rules.pwdiffer}"
{/if}
{if $cv.pwd_rules.externalpwdhook_active}
		externalpwdhook="{$cv.pwd_rules.externalpwdhook}"
{/if}
{if $cv.errorlvl}
		displayerrors="true"
{else}
		displayerrors="false"
{/if}
{if $cv.enable_schema_check}
		schema_check="true"
{else}
		schema_check="false"
{/if}
{if $cv.generic_settings.enableCopyPaste}
		enableCopyPaste="true"
{else}
		enableCopyPaste="false"
{/if}
{if $cv.optional.forceglobals}
		forceglobals="true"
{else}
		forceglobals="false"
{/if}
{if $cv.optional.forcessl}
		forcessl="true"
{else}
		forcessl="false"
{/if}
{if $cv.optional.ldapstats}
		ldapstats="true"
{else}
		ldapstats="false"
{/if}
{if $cv.optional.warnssl}
		warnssl="true"
{else}
		warnssl="false"
{/if}
{if $cv.optional.ppd_path_active}
		ppd_path="{$cv.optional.ppd_path}"
{/if}
{if $cv.optional.max_ldap_query_time_active}	
		max_ldap_query_time="{$cv.optional.max_ldap_query_time}"
{/if}
{if $cv.optional.noprimarygroup}
		noprimarygroup="true"
{/if}
{if $cv.optional.mailQueueScriptPath_active}
		mailQueueScriptPath="{$cv.optional.mailQueueScriptPath}"
{/if}
{if $cv.optional.auto_network_hook_active}
		auto_network_hook="{$cv.optional.auto_network_hook} "
{/if}
		lang="{$cv.lang_selected}"
		theme="{$cv.theme}"
		session_lifetime="{$cv.optional.session_lifetime}"
		compile="{$cv.optional.compile}"
		debuglevel="{$cv.optional.debuglevel}"
		smbhash='{$cv.samba_settings.smbhash}'
		>

		<location name="{$cv.location}"
			hash="{$cv.encryption}"
			dnmode="{$cv.peopledn}"
			server="{$cv.connection}"
			people="{$cv.peopleou}"
			groups="{$cv.groupou}"
			gidbase="{$cv.uidbase}"
			uidbase="{$cv.uidbase}"
{if $cv.optional.auth_mail}
			auth_mail="true"
{else}
			auth_mail="false"
{/if}
{if $cv.optional.strict_units}
			strict_units="true"
{else}
			strict_units="false"
{/if}
{if $cv.krbsasl}
			krbsasl="true"
{else}
			krbsasl="false"
{/if}
{if $cv.rfc2307bis}
			rfc2307bis="true"
{else}
			rfc2307bis="false"
{/if}
{if $cv.include_personal_title}
			include_personal_title="true"
{else}
			include_personal_title="false"
{/if}
{if $cv.optional.notifydir_active }
			notifydir="{$cv.optional.notifydir}"
{/if}
{if $cv.base_hook_active}
			base_hook="{$cv.base_hook}"
{/if}
{if $cv.generic_settings.wws_ou_active}
			winstations="{$cv.generic_settings.wws_ou}"
{/if}
{if $cv.id_settings.idgen_active}
			idgen="{$cv.id_settings.idgen}"
{/if}
{if $cv.strict}
			strict="yes"
{else}
			strict="no"
{/if}
{if $cv.id_settings.minid_active}
			minid="{$cv.id_settings.minid}"
{/if}
{if $cv.mail != "disabled"}
			mailMethod="{$cv.mail}"
{if $cv.cyrusunixstyle}
			cyrusunixstyle="true"
{else}
			cyrusunixstyle="false"
{/if}
			mail_uattrib="{$cv.mail_attrib}"
{if $cv.mail_settings.vacationdir_active}
			vacationdir="{$cv.mail_settings.vacationdir}"
{/if}
{/if}
{if $cv.tls}
			tls="true"
{/if}
{if $cv.governmentmode}
			governmentmode="true"
{else}
			governmentmode="false"
{/if}
{if $cv.sambaidmapping}
			sambaidmapping="true"
{/if}
{if $cv.account_expiration}
			account_expiration="true"
{/if}
{if $cv.samba_settings.samba_sid_active}
			SID="{$cv.samba_settings.samba_sid}"
{/if}
{if $cv.samba_settings.samba_rid_active}
			RIDBASE="{$cv.samba_settings.samba_rid_active}"
{/if}
{if $cv.samba_version != 0}
			sambaversion="{$cv.samba_version}"
{/if}
			config="ou=gosa,ou=configs,ou=systems,{$cv.base}">

			<referral url="{$cv.connection}/{$cv.base}"
				admin="{$cv.admin}"
				password="{$cv.password}" />
		</location>
	</main>
</conf>
