﻿<?xml version="1.0" encoding="utf-8"?>
<!--
	DIGIMAKER CONFIGURATION (v6.0)
	This is the primary configuration file for Digimaker and web sites running on the server.
-->
<configuration>
  <!--
		DIGIMAKER SECTION
		This section is used for configuration values global to the Digimaker Server.
		Do not add new values or sections beneat this area, custom values should use the "Custom" section.
	-->
  <section name="Digimaker">
    <appSettings>
      <!-- This key should be unique for every website -->
      <add key="EncryptionKey" value="G=g8!w5YN4}t+s6CqM/32fD$" />
      <!-- The e-mail address to the system administrator -->
      <add key="AdministratorMailAddress" value="vbnet2000@mail.ru" />
      <!-- E-mail address of the sender in all messages from the system. -->
      <add key="SenderMailAddress" value="vbnet2000@mail.ru" />
      <!-- Smtp Server to send e-mails through -->
      <add key="SmtpServer" value="" />
      <!-- Indicates whether to use hashed passwords -->
      <add key="HashPassword" value="true" />
      <!-- Allowed Files to be uploaded -->
      <add key="AllowedFiles" value="vsd;css;doc;xml;txt;ppt;pot;pps;mpp;xsl;htm;html;xls;zip;rar;pdf;swf;mov;wma;wmv;mp3;mpeg;mpg;ogg;wav;rm;rv;ram;rmm;ra;rpm;rnx;rmp;rms;rjs;rax;rsml;rvx;rmj;rjt;rmx;au;snd;mid;rmi;asf;avi;mpe;aif;ani;bmp;cur;emf;eps;psd;psp;raw;tga;fla;swf;tga;tif;tiff;wmbp;wmf;ttf;mpe;jpg;jpeg;jpe;gif;png;bmp;ico;tif;tiff;mng;wbmp;raw;jp2;jpc;j2k;psd;ai;cdr;dot;rtf;mht" />
      <add key="AllowedImageFiles" value="jpg;jpeg;jpe;gif;png;bmp;ico;tif;tiff" />
      <!-- The files types that are being uploaded to indexed by the database server -->
      <add key="IndexedFiles" value="xml;txt;ppt;pps;htm;html;xls;pdf" />
      <!-- Address Control -->
      <add key="DefaultCountry" value="United Kingdom" />
      <!-- MasterPages (inside Digimaker, check section "Web" for website template) -->
      <add key="MasterPages.DefaultTemplate" value="~/MasterPageSub.ascx" />
      <!-- MaxArticles - Holds the value for maximum number of articles to be displayed in the 'Most Recent Article' section -->
      <add key="MaxArticles" value="5" />
      <!-- Category name for autogenerated links -->
      <add key="LinkCategoryAutogenerated" value="Autogenerated Links" />
      <!-- Category name for autogenerated images -->
      <add key="ImageCategoryDefault" value="Default Image Category" />
      <!-- The stylesheet to include in richeditor (to have the same look in editor as on the website) -->
      <add key="RichEditorCSSPath" value="../../sitebuilder.web/style/main.css" />
      <!-- The default language/country ID -->
      <add key="LCID" value="1033" />
      <!-- These are making LCID obsolete, the first defines number and currency rules, the second is the visual language (texts). -->
      <add key="StandardCulture" value="en-US" />
      <add key="StandardUICulture" value="en-US" />
      <add key="StandardRtl" value="false" />
      <!-- Default "save as" status : Published/Draft/ForApproval -->
      <add key="Content.DetaultSaveStatus" value="Draft" />
      <!-- Tells whether CheckinChekOut Functionality is supported by the site or not. -->
      <add key="CheckInCheckOutEnabled" value="False" />
      <!-- Tells the background services to process this website or not -->
      <add key="ServiceEnabled" value="True" />
      <!-- The website domain name used by statistics (Example: digimaker.com) -->
      <add key="HomeDomainName" value="localhost" />
      <!-- Allows XHTML parsing when editing/savinf article. -->
      <add key="ParseIntoXhtml" value="false" />
      <!-- Allows Configuration of how many days before the license expiry one wants a Prompt. -->
      <!-- "0"or less indicates Default Digimaker Calculation to be applied-->
      <add key="LicenceExpiryPromptDays" value="-1" />
      <!-- Allows Configuration of NewsAgent Category defualt for Images to be imported in case of RSS feeds. -->
      <!--<add key="NewsAgentImageCategoryAutogenerated" value="RSS Feeds"/>-->
    </appSettings>
    <!-- Path to css files that will be included in the editors
          GeneralCss : will allways be included
          ArticleAbstractCss : Will only be used in the editor for article abstract field
          ArticleFullstoryCss : Will only be used in the editor for article fullstory field -->
    <collection name="RichEditor">
      <add key="GeneralCss" value="/main.css" />
      <add key="ArticleAbstractCss" value="" />
      <add key="ArticleFullstoryCss" value="" />
    </collection>
    <!-- Labels for the custom fields that exist when editing a person -->
    <array name="Person.CustomFields" type="string">
      <item>1. Custom field</item>
      <item>2. Custom field</item>
      <item>3. Custom field</item>
    </array>
    <!-- EDITOR settings -->
    <array name="Editor.Parser.Remove" type="string">
      <item>http://localhost/digimaker/</item>
      <item>http://localhost/</item>
    </array>
    <!-- In the following sections, no values/items will give empty dropdown, missing element will remove the dropdown from Rich editor -->
    <array name="Editor.FontFamily" type="string">
      <item>Verdana</item>
      <item>Arial</item>
      <item>Courier</item>
    </array>
    <array name="Editor.FontSize" type="string">
      <item>7</item>
      <item>6</item>
      <item>5</item>
      <item>4</item>
      <item>3</item>
      <item>2</item>
      <item>1</item>
    </array>
    <!-- Any values here other that H1-6-tags required the class created in main.css -->
    <collection name="Editor.CSS">
      <add key="H1" value="H1" />
      <add key="H2" value="H2" />
      <add key="H3" value="H3" />
      <!-- 
		Uncomment following custom editor sizes when needed. Style class names(key)
		should be set up in the css file as specified in the RichEditorCSSPath property
			<add key="textLarge" value="Text : Large" />
			<add key="textLarger" value="Text : Larger" />
			<add key="textXLarge" value="Text : X-Large" />
			<add key="textXXLarge" value="Text : XX-Large" />
			<add key="textSmall" value="Text : Small" />
			<add key="textSmaller" value="Text : Smaller" />
			<add key="textXSmall" value="Text : X-Small" />
			<add key="textXXSmall" value="Text : XX-Small" />
      -->
    </collection>
    <!--  CACHE HELPER
			This section controls the usage of Cache.Object calls within the application
			Usage as:
			Key => Cache. followed by match to enumerator in Digimaker.CacheHelper.CacheKey
			Value => "toCache;expireTime;expireType;cachePriority"
			Where
				toCache => bool value (true,false)
				expireTime => int value in seconds
				expireType => Absolute or sliding (abs,slide) : Default = abs
				cachePriority => Enum value from CacheItemPriority (Normal,Default etc.) : Default = Default
			
			"DigimakerPrincipal" Digimaker Security Principal cached for authentication module.
			"CalendarDateFormat" DatePicker date format per culture
			"SiteTree" Used for the SiteBuilder.WebControls.Menu.MenuCreator control.
			"ArticlePreview" NOTE! ALWAYS have this set to true in first parameter! Without cache it wount work.
			"ArticleViewData" Used for the SiteBuilder.WebControls.ArticleDisplay control.
			"MenuItemViewData" Used for the SiteBuilder.WebControls.Menu.MenuDisplay control.
			"DirectEditMenuItems" ? 7 min (guessing that Author will on average use less that 7 minutes editing article
			"DirectEditArticleMenuItems" ?
		-->
    <collection name="Cache">
      <add key="DigimakerPrincipal" value="false;600" />
      <add key="CalendarDateFormat" value="false;60" />
      <add key="SiteTree" value="false;60" />
      <add key="ArticlePreview" value="true;60" />
      <add key="DirectEditMenuItems" value="false;420;slide" />
      <add key="DirectEditArticleMenuItems" value="false;420;slide" />
      <add key="ArticleViewData" value="false;120;slide" />
      <add key="MenuItemViewData" value="false;120;slide" />
      <add key="ImageFilename" value="false;60;slide" />
      <add key="DocumentFilename" value="false;60;slide" />
      <add key="ResourceScript" value="false;60;slide" />
      <add key="WebControlFragmentLong" value="true;600;abs" />
      <add key="Custom1" value="false;60;abs" />
      <add key="Custom2" value="false;60;abs" />
      <add key="Custom3" value="false;60;abs" />
      <add key="Custom1" value="false" />
      <add key="Custom2" value="false" />
      <add key="Custom3" value="false" />
    </collection>
    <!--  AUTHENTICATION 
			This section sets the authentication policies of the server.
			
			"Session" Name of the authentication cookie. Important: this has to be same as web.config.
			"Permanent" Name of the permanent user cookie. Note: This cookie store the user id encrypted.
			"PermanentDays" How many days the permanent cookie should be saved on users machine.
			"LogonIdentifiedUsers" Recognized users is assigned personal roles and levels.
			"UserName" Allows someone to login to digimaker when there is no user in the database.
			"Password" Password for the above user.
			"LoginUrl" The url that users are sent to login and authenticate.
			"ResetPasswordTimeout" Number of Minutes the secureKey used in key on "lost password" mail on
				website will be valid, when expired and user have not accessed the link he must request
				a new link for changing password. 0=Never expire.
			"PasswordTimeout" Number of Days the password for individual users will be valid,
				updated for a user for a user everytime he sets a new password. 0=Never expire.
			"AuthenticationType" Type of authentication. Can be 'Windows', 'Forms' or 'FormsDS'
				Windows - Automatically logs the user in
				Forms - Verifies the user against Persons inside Digimaker
				FormsDS - Verifies the user against Active Directory
		-->
    <collection name="Authentication">
      <add key="Permanent" value=".DM_PERM" />
      <add key="PermanentDays" value="365" />
      <add key="LogonIdentifiedUsers" value="false" />
      <add key="Password" value="xxxxxx" />
      <add key="LoginUrl" value="login.aspx" />
      <add key="ResetPasswordTimeout" value="0" />
      <add key="PasswordTimeout" value="0" />
      <add key="AuthenticationType" value="Forms" />
    </collection>
    <!-- PICTURE MODULE
			This section controls various settings for the pictures module inside Digimaker Server.
			
			"autoGeneratePictures" The dimensions to auto-generate thumbnails.
			"PrimarySize" Specifies which image size that defines the primary image.
				NOTE! If the size given here is not present in "autoGeneratePictures", the Original image will be the primary.
			"ThumbnailSize" Specifies which image size that defines the thumbnail image.
				NOTE! This size should not be present in the "autoGeneratePictures" list.
		-->
    <collection name="Picture">
      <add key="AutoGeneratePictures" value="640x480,320x240,160x120" />
      <add key="PrimarySize" value="160x120" />
      <add key="ThumbnailSize" value="95x95" />
    </collection>
    <!-- BULK UPLOAD
		This section allows configuration of the Bulk Upload settings for Documents and Pictures
    -->
    <collection name="BulkUpload">
      <add key="DocumentAutoVersioning" value="true" />
      <add key="DocumentCheckInAndVersion" value="true" />
      <add key="PictureReplace" value="false" />
    </collection>
    <!-- CAMPAIGN MODULE
		This section contols the usage of the campaign module.
		UseWebServices - When true you shold have installed the 3rd party "BoogiePop"
    "DefaultMailServer" - Default mail server to use when creating new campaign.
    "DefaultMailSenderName" - Default mail sender name to use when creating new campaign.
    "DefaultMailSenderEmailAddress" - Default mail sender Email address to use when creating new campaign.
    
    "DefaultMailSenderPassword" - Default Email address password to use when creating new campaign.
    "DefaultSMTPRequiresAuthentication" - Default value for SMTPAuthentication to use when creating new campaign.
                                          The possible values for this field is "true" and "false" and the default value 
                                          is "true".
    "DefaultMailReplyUserName" - Default mail reply user name to use creating new campaign.
    "DefaultMailReplyEmailAddress" - Default mail reply user Email address to use when creating new campaign.
    
    "DefaultCheckMailServer" - Default mail server to use for checking undeliverable mails.
    "DefaultCheckMailUserName" - Default Email address to use for checking undeliverable mails.
    "DefaultCheckMailUserPassword" - Default Email address password to use for checking undeliverable mails.
    
    "DefaultAlternateMailServer" - Default alternate mail server to use when creating new campaign.
    "DefaultAlternateMailUserName" - Default alternate mail user Email address to use when creating new campaign.
    "DefaultAlternateMailUserPassword" - Default alternate Email address password to use when creating new campaign.
    
    "ArticleSortOrders" - The fields to be shown in the "Sort By" dropdown.
    "EmailsForTestMailSettings" - The Email addresses to use when testing the mail settings.

	-->
    <collection name="Campaign">
      <add key="UseWebServices" value="false" />
      <add key="CampaignWebServiceDMAddress" value="" />
      <add key="CampaignWebServiceCSAddress" value="" />
      <add key="DefaultMailServer" value="[DefaultServerName]" />
      <add key="DefaultMailSenderName" value="admin" />
      <add key="DefaultMailSenderEmailAddress" value="admin@digimaker.com" />
      <add key="DefaultMailSenderPassword" value="[Password]" />
      <add key="DefaultSMTPRequiresAuthentication" value="True" />
      <add key="DefaultMailReplyUserName" value="admin" />
      <add key="DefaultMailReplyEmailAddress" value="" />
      <add key="DefaultCheckMailServer" value="[DefaultCheckMailServer]" />
      <add key="DefaultCheckMailUserName" value="" />
      <add key="DefaultCheckMailUserPassword" value="" />
      <add key="DefaultAlternateMailServer" value="[AlternateServerName]" />
      <add key="DefaultAlternateMailUserName" value="" />
      <add key="DefaultAlternateMailUserPassword" value="admin123" />
      <add key="ArticleSortOrders" value="Headline;Author;CreateDate;ShowDate;Comment;Priority;Meta_Keywords;Meta_Description;MenuItemID" />
      <add key="EmailsForTestMailSettings" value="admin@digimaker.com" />
    </collection>
    <!-- CONNECTION STRING
		This section contains the available SQL Server database connection strings. By default, the first item
		is selected as the active Config.ConnectionString.
	-->
    <collection name="ConnectionString" encrypted="True">
      <add key="DB" value="server=VS2005;database=DemoEmpty;uid=cbfk5I1tWPjOTgytNHPYZA==;pwd=dfSY8hmxgU4=" />
      <add key="STATISTICS" value="" />
    </collection>
    <!-- PROVIDERS
			This section contains the available providers and what their default values are. Providers pattern allows
			the Digimaker Server to quickly and easily change logic, based on a plugin-model.
		
			"MenuItemProvider" Provider for menu item hierarchy.
			"OrgUnitProvider" Provider for organization unit hierarchy.
			"MembershipProvider" Provider for membership.
			"RoleProvider" Provider for roles.
			"PermissionProvider" Provider for permissions.
		-->
    <collection name="Providers">
      <add key="MenuItemProvider" value="Sql50MenuItemProvider" />
      <add key="OrgUnitProvider" value="Sql50OrgUnitProvider" />
      <!--<add key="MembershipProvider" value="DigimakerMembershipProvider" />
      <add key="RoleProvider" value="DigimakerRoleProvider" />
      <add key="PermissionProvider" value="DigimakerPermissionProvider" />
      <add key="WorkflowProvider" value="DigimakerWorkflowProvider" />-->
    </collection>
    <collection name="Sql50MenuItemProvider">
      <add key="type" value="Digimaker.Data.Content.Sql50MenuItemProvider, Digimaker.Data.Content, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b25b2bd09631cf33" />
      <add key="description" value="Digimaker 5.0 on SQL Server" />
      <add key="connectionString" value="" />
      <!-- Empty or missing connectionsString will use global, otherwise use the name of desired connection -->
    </collection>
    <collection name="Sql50OrgUnitProvider">
      <add key="type" value="Digimaker.Data.Directory.Sql50OrgUnitProvider, Digimaker.Data.Directory, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b25b2bd09631cf33" />
      <add key="description" value="Digimaker 5.0 on SQL Server" />
      <add key="connectionString" value="" />
    </collection>
  </section>
  <!--
		WEB SECTION
		This section is used for configuration values for the web site.
		Do not add new values or sections beneat this area, custom values should use the "Custom" section.
	-->
  <section name="Web">
    <appSettings>
      <!-- Title to display on Page Titles-->
      <add key="SiteTitle" value="DemoEmpty" />
      <!-- ArticleDisplay : SBDatalist -->
      <add key="DefaultDateTimeFormat" value="d" />
      <!-- Time in seconds it takes for an article-editing session in direct edit takes to timeout. -->
      <add key="DirectEdit.SameVersionTimeout" value="20" />
      <!-- Indicates whether the website supports HTTPS or not. -->
      <add key="HTTPSEnabled" value="false" />
      <!-- Indicates whether the entire site should use HTTPS. -->
      <add key="HttpsEntireSite" value="false" />
      <!-- Config.Web.WebsiteURL -->
      <add key="WebsiteURL" value="http://localhost/" />
      <!-- MasterPages (website template) -->
      <add key="MasterPages.DefaultTemplate" value="~/MasterPage.ascx" />
      <!-- Smtp Server to send e-mails through on the website -->
      <add key="SmtpServer" value="" />
      <!-- The default language/country ID -->
      <add key="LCID" value="1033" />
      <!-- These are making LCID obsolete, the first defines number and currency rules, the second is the visual language (texts). -->
      <add key="StandardCulture" value="en-US" />
      <add key="StandardUICulture" value="en-US" />
      <add key="StandardRtl" value="false" />
    </appSettings>
    <!--
		  URLREWRITE SETTINGS
		  This section allows configuration of the URL Rewrite settings, typically turning on/off friendly urls.
      
      Enabled                 : "True" will enable friendly urls, "false" will disable them.
      ShortPath               : Instead of having a path to where you are in the url, just have the current item.
                                "True" will e.g. give www.mysite.com/football.html
                                "False" will e.g. give www.mysite.com/sports/football.html
      RemotingServerAddresses : Address of all the webservers hosting your site, normally only 1 server, but in a
                                load balanced environment you will have to provide a list of commaseparated addresses.
      RemotingPort            : Open network port for where the remoting server is hosted
                                (Typically only for internal network use, this port should be closed from outside access)
      RemotingServiceName     : A name to identify the remoting server.
    -->
    <collection name="UrlRewrite">
      <add key="Enabled" value="false" />
      <add key="ShortPath" value="true" />
      <add key="RemotingServerAddresses" value="127.0.0.1" />
      <add key="RemotingPort" value="8060" />
      <add key="RemotingServiceName" value="DigimakerUrlHostManager" />
    </collection>
    <!--
		ASSEMBLIES SECTION
		This section allows configuration of assemblies used within the system for late binding.
		
		"WebResource" is preserved as the default resource assembly for SiteBuilder.WebControls.Resources.GetWebString();
    -->
    <collection name="Assemblies">
      <add key="WebResource" value="App_GlobalResources,Resources.lang.Text,Resources.lang.Text.No" />
    </collection>
    <!--
		Default Redirect Templates for Link_Internal.aspx
    -->
    <collection name="InterlLinks">
      <add key="FormTemplate" value="form.aspx" />
      <add key="ViewTemplate" value="view.aspx" />
      <add key="EventTemplate" value="events.aspx" />
      <add key="PersonTemplate" value="person.aspx" />
      <add key="ResourceTemplate" value="resource.aspx" />
      <add key="PictureCategoryTemplate" value="picture.aspx" />
      <add key="DocumentCategoryTemplate" value="document.aspx" />
      <add key="OrganizationUnitTemplate" value="organization.aspx" />
    </collection>
    <!--
		VISUAL SECTION
		This section allows the programmer to enforce certain constraints on the
		visual layout and elements on the web page.
		
		"defaultAbstractMaxWidth"
		"defaultAbstractMaxHeight"
	-->
    <collection name="Visual">
      <add key="DefaultAbstractMaxWidth" value="140" />
      <add key="DefaultAbstractMaxHeight" value="90" />
      <add key="LeftStrip" value="150" />
    </collection>
    <!--
		MENUITEM SECTION
		
		"Root" is the root menu item Id for the website to display.
			This will be used if there is no "m" in the QueryString
		"Search" is the menu item(s) to start a search in. Can be comma separated values. 0 = Complete Database/Site.
	-->
    <collection name="MenuItem">
      <add key="Root" value="1" />
      <add key="Search" value="0" />
    </collection>
    <!--
		GUEST USER DETAILS
		This section is used by the authentication module to identify anonymous users.
		
		"UserID" The ID for guest users. If set to anything other than "0", the roles and levels
		will be loaded from database and not from config.
		"Roles" Roles that is added to the guest users principal.
		"AlternativeRoles" When Anonymous users have to get content from DM, query might be done with these roleIds. If this value is empty, the standard roles will be used.
		"AccessLevels" Levels that is added to the guest users principal.
		"DisplayName" Name of the guest user.
		"Email" Email address of the guest user.
	-->
    <collection name="Guest">
      <add key="PersonId" value="0" />
      <add key="Roles" value="1" />
      <add key="AlternativeRoles" value="" />
      <add key="AccessLevels" value="" />
      <add key="DisplayName" value="Ukjent bruker" />
      <add key="Email" value="no-reply@digimaker.com" />
    </collection>
    <!--
		PATH FOLDER
		
		"ControlTemplate" When a <type>TemplatePath is specified (relative, without .ascx ending) on a control, 
		"FileUploadSize" Max size file size allowed to upload.
	-->
    <collection name="Path.Folder">
      <add key="ControlTemplate" value="~/controltemplate/" />
      <add key="FileUploadSize" value="140480000" />
    </collection>
    <!--
		PAGEs used by SiteBuilder Controls
		"LostPassword" the page that holds the LostPassword control
		"SearchResult" commaseparated string of valid search result pages.
	-->
    <collection name="Page">
      <add key="LostPassword" value="login.aspx" />
      <add key="SearchResult" value="search.aspx" />
    </collection>
    <!--
		MailServerInstalled - Currently not used.
		From.LostPasswordAddress - Email of sender when user recieves mail on how to set new password.
		From.LostPasswordName - Name of sender when user recieves mail on how to set new password.
	-->
    <collection name="Mail">
      <add key="MailServerInstalled" value="false" />
      <add key="From.LostPasswordAddress" value="info@digimaker.com" />
      <add key="From.LostPasswordName" value="Lost password" />
    </collection>
    <!-- PAGE SECURE
		These pages will be redirected to https if Digimaker.Config.Web.Page.Secure == true
		E.g. profile.aspx* = that aspx file is secure no matter what querystring it has, if any.
		profile.aspx?m=12* = after the given querystring everying else is allowed.
							and "profile.aspx?amid=2&m=12 is NOT valid
		Note! When using the * wildcard, it will only work as the last charachter in the string.
		login.aspx = only this url is secure, a querystring cannot exist.
		/closed/ = a folder where every aspx request will require HTTPS.
	-->
    <array name="Page.Secure" type="string">
      <item>profile.aspx</item>
      <!-- User profile -->
      <item>login.aspx</item>
      <!-- Login page -->
      <item>/folder1/</item>
    </array>
    <!-- PAGE OPEN
		These pages can be accesses by anyone without logining in first.
		E.g. disclaimer.aspx* = that aspx file is open no matter what querystring it has, if any.
		copyright.aspx?m=12* = after the given querystring everying else is allowed.
							and "copyright.aspx?amid=2&m=12 is NOT valid
		Note! When using the * wildcard, it will only work as the last charachter in the string.
		copyright.aspx = only this url is open, a querystring cannot exist.
		/free/ = a folder where every file and querystring is not tested for access.
	-->
    <array name="Page.open" type="string">
      <item>copyright.aspx*</item>
    </array>
  </section>
  <!--
		DIRECTORY SECTION
		This section is used for configuration values for Active Directory Services.
	-->
  <section name="DirectoryServices">
    <Providers>
      <add type="Active Directory" name="Digimaker.DirectoryServices.Providers.ActiveDirectory" />
      <add type="x.500" name="Digimaker.DirectoryServices.Providers.ActiveDirectory.X500" />
    </Providers>
    <Defaults>
      <!--The default mappings will be moved into a server.config file in the future. DO NOT CHANGE THE BELOW VALUES! -->
      <ObjectMappings ObjectClass="organizationalunit">
        <Mapping ID="101" Overridable="false" DirectorySystemName="ou" DirectoryFriendlyName="General &gt; Name" DigimakerSystemName="OrganizationUnitName" DigimakerFriendlyName="General : Information : Name" />
        <Mapping ID="102" Overridable="true" DirectorySystemName="description" DirectoryFriendlyName="General &gt; Description" DigimakerSystemName="Comment" DigimakerFriendlyName="Details : Comment" />
        <Mapping ID="103" Overridable="false" DirectorySystemName="streetAddress" DirectoryFriendlyName="General &gt; Street Address" DigimakerSystemName="[Address.StreetAddress]" DigimakerFriendlyName="General : Addresses : Street address" />
        <Mapping ID="104" Overridable="false" DirectorySystemName="l" DirectoryFriendlyName="General &gt; City" DigimakerSystemName="[Address.PostOfficeAddress]" DigimakerFriendlyName="General : Addresses : City" />
        <Mapping ID="105" Overridable="false" DirectorySystemName="st" DirectoryFriendlyName="General &gt; State/Province" DigimakerSystemName="[Address.Region]" DigimakerFriendlyName="General : Addresses : Region" />
        <Mapping ID="106" Overridable="false" DirectorySystemName="postalCode" DirectoryFriendlyName="General &gt; Zip/Postal code" DigimakerSystemName="[Address.Postalcode]" DigimakerFriendlyName="General : Addresses : Zip/Post office" />
        <Mapping ID="107" Overridable="false" DirectorySystemName="co" DirectoryFriendlyName="General &gt; Country/Region" DigimakerSystemName="[Address.Country]" DigimakerFriendlyName="General : Addresses : Country" />
      </ObjectMappings>
      <ObjectMappings ObjectClass="user">
        <Mapping ID="1001" Overridable="false" DirectorySystemName="givenName" DirectoryFriendlyName="General &gt; First name" DigimakerSystemName="GivenName" DigimakerFriendlyName="General : Person details : First name" />
        <Mapping ID="1002" Overridable="true" DirectorySystemName="initials" DirectoryFriendlyName="General &gt; Initials" DigimakerSystemName="" DigimakerFriendlyName="" />
        <Mapping ID="1003" Overridable="false" DirectorySystemName="sn" DirectoryFriendlyName="General &gt; Last name" DigimakerSystemName="FamilyName" DigimakerFriendlyName="General : Person details : Surname" />
        <Mapping ID="1004" Overridable="false" DirectorySystemName="displayName" DirectoryFriendlyName="General &gt; Display name" DigimakerSystemName="DisplayName" DigimakerFriendlyName="General : Person details : Display Name" />
        <Mapping ID="1005" Overridable="true" DirectorySystemName="description" DirectoryFriendlyName="General &gt; Description" DigimakerSystemName="LongDescription" DigimakerFriendlyName="Details : Employee details : Comment" />
        <Mapping ID="1006" Overridable="true" DirectorySystemName="physicalDeliveryOfficeName" DirectoryFriendlyName="General &gt; Office" DigimakerSystemName="" DigimakerFriendlyName="" />
        <Mapping ID="1007" Overridable="true" DirectorySystemName="telephoneNumber" DirectoryFriendlyName="General &gt; Telephone number" DigimakerSystemName="WorkPhone" DigimakerFriendlyName="General : Phone numbers : Business" />
        <Mapping ID="1008" Overridable="false" DirectorySystemName="mail" DirectoryFriendlyName="General &gt; E-mail" DigimakerSystemName="Email" DigimakerFriendlyName="General : Person details : E-mail" />
        <Mapping ID="1009" Overridable="true" DirectorySystemName="wWWHomePage" DirectoryFriendlyName="General &gt; Web page" DigimakerSystemName="Url" DigimakerFriendlyName="General : Online contact details : Web page" />
        <Mapping ID="1010" Overridable="false" DirectorySystemName="streetAddress" DirectoryFriendlyName="Address &gt; Street" DigimakerSystemName="[Address.StreetAddress]" DigimakerFriendlyName="General : Addresses : Street Address (Type : Street)" />
        <Mapping ID="1011" Overridable="false" DirectorySystemName="postOfficeBox" DirectoryFriendlyName="Address &gt; P.O.Box" DigimakerSystemName="[Address.POBox]" DigimakerFriendlyName="General : Addresses : Street Address (Type : Postal)" />
        <Mapping ID="1012" Overridable="false" DirectorySystemName="l" DirectoryFriendlyName="Address &gt; City" DigimakerSystemName="[Address.PostOfficeAddress]" DigimakerFriendlyName="General : Addresses : City" />
        <Mapping ID="1013" Overridable="false" DirectorySystemName="st" DirectoryFriendlyName="Address &gt; State/Province" DigimakerSystemName="[Address.Region]" DigimakerFriendlyName="General : Addresses : Region" />
        <Mapping ID="1014" Overridable="false" DirectorySystemName="postalCode" DirectoryFriendlyName="Address &gt; Zip/Postal code" DigimakerSystemName="[Address.Postalcode]" DigimakerFriendlyName="General : Addresses : Zip / Post office" />
        <Mapping ID="1015" Overridable="false" DirectorySystemName="co" DirectoryFriendlyName="Address &gt; Country/Region" DigimakerSystemName="[Address.Country]" DigimakerFriendlyName="General : Addresses : Country" />
        <Mapping ID="1016" Overridable="false" DirectorySystemName="sAMAccountName" DirectoryFriendlyName="Account &gt; User logon name" DigimakerSystemName="LoginName" DigimakerFriendlyName="General : Credentials : Login name" />
        <Mapping ID="1017" Overridable="true" DirectorySystemName="homePhone" DirectoryFriendlyName="Telephones &gt; Home" DigimakerSystemName="HomePhone" DigimakerFriendlyName="General : Phone numbers : Home phone" />
        <Mapping ID="1018" Overridable="true" DirectorySystemName="pager" DirectoryFriendlyName="Telephones &gt; Pager" DigimakerSystemName="Telephone2" DigimakerFriendlyName="General : Phone numbers : Other" />
        <Mapping ID="1019" Overridable="true" DirectorySystemName="mobile" DirectoryFriendlyName="Telephones &gt; Mobile" DigimakerSystemName="MobilePhone" DigimakerFriendlyName="General : Phone numbers : 1. Mobile" />
        <Mapping ID="1020" Overridable="true" DirectorySystemName="facsimileTelephoneNumber" DirectoryFriendlyName="Telephones &gt; Fax" DigimakerSystemName="Fax" DigimakerFriendlyName="General : Phone numbers : Fax" />
        <Mapping ID="1021" Overridable="true" DirectorySystemName="info" DirectoryFriendlyName="Telephones &gt; Notes" DigimakerSystemName="Motto" DigimakerFriendlyName="Details : Motto" />
      </ObjectMappings>
    </Defaults>
    <Replication ReplicationID="1" ReplicationName="default" Provider="Active Directory">
      <CommonSettings>
        <PageSize>200</PageSize>
        <ServerTimeLimit>20</ServerTimeLimit>
      </CommonSettings>
      <Units>
        <DirectoryServer>
          <ServerName>
          </ServerName>
          <LDAPPath>
          </LDAPPath>
          <DomainName>
          </DomainName>
          <Username>
          </Username>
          <Password>
          </Password>
        </DirectoryServer>
        <DigimakerServer>
          <OrganizationUnitRoot ID="" Name="" />
          <RolesRoot ID="" Name="" />
          <UserPassword>
          </UserPassword>
        </DigimakerServer>
      </Units>
      <Mappings ReplicationType="DS_DM">
        <ObjectMappings ObjectClass="organizationalunit">
          <Mapping MappingID="101" />
          <Mapping MappingID="103" />
          <Mapping MappingID="104" />
          <Mapping MappingID="105" />
          <Mapping MappingID="106" />
          <Mapping MappingID="107" />
          <Mapping MappingID="102" />
        </ObjectMappings>
        <ObjectMappings ObjectClass="user">
          <Mapping MappingID="1001" />
          <Mapping MappingID="1002" />
          <Mapping MappingID="1003" />
          <Mapping MappingID="1004" />
          <Mapping MappingID="1005" />
          <Mapping MappingID="1006" />
          <Mapping MappingID="1007" />
          <Mapping MappingID="1008" />
          <Mapping MappingID="1009" />
          <Mapping MappingID="1010" />
          <Mapping MappingID="1011" />
          <Mapping MappingID="1012" />
          <Mapping MappingID="1013" />
          <Mapping MappingID="1014" />
          <Mapping MappingID="1015" />
          <Mapping MappingID="1016" />
          <Mapping MappingID="1017" />
          <Mapping MappingID="1018" />
          <Mapping MappingID="1019" />
          <Mapping MappingID="1020" />
          <Mapping MappingID="1021" />
        </ObjectMappings>
      </Mappings>
    </Replication>
  </section>
  <!--
		VALIDATION POLICY SECTION
		This section is used for configuration values for the ValidationPolicy module.
		This could be used to validate if a string, password, username etc follows certaion rules.

		Available rules are:
		MinStringLength
		MaxStringLength
		LettersAndNumbers	- meaning that the password must conain a combination of letters, numbers or characters
		ForbiddenPatterns	- could be forbidden characters or other combinations of characters
		AllowEqualStrings	- if the two strings are allowed to be equal (E.g. validating if username could be the same as password)
		RequiredPattern		- If a string should validated to contain a specific word from a list
		Seperator			- The character to seperate forbidden / required patterns
		ForbiddenTextFilepath - Absolute path for any text file with line separated forbidden words.
		
		The Policy type default should not be removed, if a validator has not selected any of the other defined validation
		types, the default will be chosen. 
		
		To extend a chosen policy type create a new type which inherits from the existing policy type, e.g. 
		<Policy type="PersonPassword" inherits="default">
	-->
  <section name="ValidationPolicy">
    <Policy type="default">
      <MinStringLength>0</MinStringLength>
      <RequireLettersAndNumbers>False</RequireLettersAndNumbers>
      <ForbiddenPatterns>
      </ForbiddenPatterns>
      <RequiredPattern>
      </RequiredPattern>
      <AllowEqualStrings>False</AllowEqualStrings>
      <ForbiddenTextFilepath>
      </ForbiddenTextFilepath>
      <MaxStringLength>1000</MaxStringLength>
    </Policy>
    <Policy type="PersonPassword" inherits="default">
      <MinStringLength>6</MinStringLength>
      <AllowEqualStrings>False</AllowEqualStrings>
      <RequireLettersAndNumbers>True</RequireLettersAndNumbers>
    </Policy>
  </section>
  <section name="Workflow">
    <appSettings>
      <add key="Enabled" value="false" />
    </appSettings>
  </section>
  <!--
		CUSTOM SECTION
		This section is used for configuration values that are custom to an implementation.
		Add any new values or sections beneat this area.
		
		Usage example:
		string custom = Digimaker.Config.Custom.Get("Custom1"); // custom = "Value1"
	-->
  <section name="Custom">
    <appSettings>
      <add key="Custom1" value="Value1" />
      <add key="OfficeClient.LatestVersion" value="2.0.0.0" />
      <add key="OfficeClient.RequiredVersion" value="2.0.0.0" />
      <add key="OfficeClient.InvalidVersionMessage" value="" />
    </appSettings>
  </section>
</configuration>