<db>	# database parameters
	dbHost	= localhost
	dbName	= HaCi
	dbUser	= HaCi
	dbPass	= geheim!

	# database type (mysql [default], postgresql)
	dbType	= mysql	
</db>

<gui>	# GUI parameters
	<colors>
		root	= FF0000

		<network>
			new		= 777777
			reserved	= FF00F0
			locked		= 555555
			free		= 00AA00
			assigned	= 000000
			invisible	= FFFFFF
			netBorder	= 5555FF
			searched	= FFAAAA
		</network>
	</colors>

	# technical contact
	techContact		= support@domain.tld

	# preferred style
	#  bright
	#  black
	style			= bright

	# direct access to network functions by icons
	directAccess		= 1

	# show error details instead of a basic error warnings
	showErrorDetails	= 1

	# max. number (2^?) of calculated (free) subnets (2^8 => 256)
	maxSubnetSize	= 8

	# show structure of the tree (with lines)
	showTreeStructure	= 1

	# enable locales support (default 1)
	enableLocaleSupport	= 1

	# show number of free subnets with CIDR 'min'
	showNrOfFreeSubnetsWithMinCIDR	= 1

	# show first and last address as 'netaddress' respectively 'broadcast'
	showNetBorders	= 1

	# remove CIDR (/32 respectively /128) from IP addresses
	removeCIDRFromIPs	= 1
</gui>

<misc>
	# maximum memory consumption in kB for the HaCi Daemon. If this limit is reached, HaCid will be restarted automatically
	maxMemConsumption	= 50000

	# disable caching mechanismen
	disableCache	= 0

	# automatically upgrade database if needed
	autoUpgradeDatabase	= 1

	# suppress database upgrade error messages if you are sure that everything is okay
	ignoreUpgradeFailures	= 0

	# enable debugging
	debug	= 0

	# set default network lock time (in seconds) when deleting networks
	dftNetworkLock	= 0
</misc>

<auth>	# authentication parameters
	## authentication modules
	# internal: internal auth
	# imap    : IMAP auth
	# ldap    : LDAP auth
	#
	# you can specify multiple authentication modules which will be used one after another 
	authModule	= ldap, internal

	<authParams>	# authenticationmodule parameters
		<imap>
			# host		= imap.server.tld
			# authtype	= login
		</imap>

		<ldap>
			# authenticate with bindDN
			# host		= ldap1.server.tld
			# host		= ldap2.server.tld
			# bindDN	= cn=<USER>,ou=linux-users,dc=example,dc=com   # the <USER> variable will be replaced with the authenticating username

			# search for user and authenticate against that dn (necessary, if the cn isn't equal with the authenticating username)
			# host		= ldap1.server.tld
			# host		= ldap2.server.tld
			# bindDN	= cn=ldapread,ou=User,dc=example,dc=com
			# bindPW	= <geheim>
			# baseDN	= ou=organisation,dc=example,dc=com
			# filter	= attr=<USER>	# the <USER> variable will be replaced with the authenticating username
		</ldap>
	</authParams>
</auth>

# vim:ts=8
