#
# Copyright 2001-2005, 2007-2010 Citrix Systems, Inc. All Rights Reserved.
#
# $Id$
#
# fields are terminated by semicolons, no spaces
# field 1 = keyword
# field 2 = minimum value
# field 3 = maximum value
# field 4 = default value
#
# WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING !!!
# WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING !!!
#
# File format of this file is _very_ strict; there's minimal error checking
# in the code, as this file is not intended to be edited in the field.
# If you _have_ to edit this file for any reason, take a backup first.
# If you edit this file and get it wrong, you will break the product.
#
# WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING !!!
# WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING !!!
#
# Rules:
# 1) maximum line length of any single line in the file is 511 chars
# 2) lines beginning with a # in col 1 are comments
# 3) Totally blank lines are ignored
# 4) All other lines must contain
#    - no spaces whatsoever
#    - 1 lower-case string field followed by a semi-colon
#    - 3 decimal number fields, each followed by a semi-colon
#
# reuseaddr
# =========
# 
# reuseaddr specifies whether the FM will attempt to re-use the Citrix port
# address even if this appears to be in use.  This may occur when restarting
# the FM after a kill -9.
#
# To revert to the pre-FR1 behaviour, where the port must be timed-out
# naturally, set ctxcfg -k reuseaddr=0
#
reuseaddr;0;1;1;
#
# loadfactor
# ==========
#
# loadfactor specifies the final scaling to be applied to the load number
# reported by the browser.  A value of 100 is the default, and means "no
# scaling".  A larger number means the machine can accept more connections,
# a smaller number means that the machine can accept fewer connections.  A
# machine with a load of 10000 can accept no connections.
# The actual calculation is to multiply the load by 100 and divide by the
# loadfactor, capping at 10000.
loadfactor;1;10000;100;
#
# cdmqueue
# =================
#
# cdmqueue specifies the number of pending nfs/cdm requests that will
# be queued for i/o using the CDM virtual channel. When the limit has
# been reached, further requests will be discarded and the nfs client
# would then retry the request if a reply hasn't been received within
# its timeout period.
# Limiting the queue length prevents a client which is slow to respond
# from using an excessive amount of memory for duplicate CDM requests.
cdmqueue;1;10000;100;
#
# seaminittimeout
# =================
#
# seaminittimeout specifies the time in seconds that the select call
# during seamless initialization will timeout in. Large values could
# cause the X server to hang for this time if the client fails to 
# respond. If it is too short then the client might not respond in 
# time and so the seamless initialization might fail.
seaminittimeout;1;1000;10;
#
# movelogin
# =================
#
# movelogin specifies whether the login window of a seamless session
# gets an explicit positioning command after the window has been 
# created. This is to allow correct behaviour on client systems that
# reposition windows without notifying the client program.
# A value of 0 does not send the reposition command,
# a value of 1 does.
# Default is not to reposition the seamless login window.
movelogin;0;1;0;
#
# autoreconnect
# =================
#
# autoreconnect specifies whether sessions automatically reconnect
# after a network failure has occurred.
#
# A value of 1 is the default and means auto reconnect will be turned on.
# A value of 0 means auto reconnect will be turned off.
autoreconnect;0;1;1;
#
# loadbalancing
# =================
#
# loadbalancing specifies whether load balancing is enabled for a server.
#
# A value of 1 is the default and means that load balancing will be
# enabled. A value of 0 means that load balancing will be turned off.
loadbalancing;0;1;1;
#
# reconnectlogging
# ================
#
# reconnectlogging specifies the type of logging performed when sessions
# are reconnected. The possible values are 
#   0 = don't log any reconnects,
#   1 = use the legacy logging where only the username is reported
#   2 = use the new version of logging where the session id, and client name are
#       logged in addition to the user name.
#
reconnectlogging;0;2;1;
#
# disconnectlogging
# ================
#
# disconnectlogging specifies the type of logging performed when sessions
# are disconnected. The possible values are 
#   0 = don't log any disconnects,
#   1 = use the legacy logging where only the username is reported
#   2 = use the new version of logging where the session id, and client name are
#       logged in addition to the user name.
#
disconnectlogging;0;2;1;
#
# logonlogging
# ============
#
# logonlogging specifies the type of logging performed when sessions
# are logged on. The possible values are 
#   0 = don't log any logins,
#   1 = use the legacy logging where only the username is reported
#   2 = use the new version of logging where the session id, and client name are
#       logged in addition to the user name.
#
logonlogging;0;2;1;
#
# logofflogging
# =============
#
# logofflogging specifies the type of logging performed when sessions
# are logged off. The possible values are 
#   0 = don't log any logoffs,
#   1 = use the legacy logging where only the username is reported
#   2 = use the new version of logging where the session id, and client name are
#       logged in addition to the user name.
#
logofflogging;0;2;1;
#
# disallowicaclient
# ====================
#
# disallowicaclient specifies the ability to block ICA clients from connecting
# that have been identified to have compatibility issues. For example the win32
# 8.100 ICA client that has high throughput compatibility issues.
# The possible values are
#   0 = allows incompatible clients
#   1 = disallows incompatible clients
#
disallowicaclient;0;1;0;
#
# disablescrollmouse
# ====================
#
# disablescrollmouse specifies the ability to turn off the server capability
# to handle scrollmouse button events. By specifying this option the server 
# does not tell the client it can handle scrollmouse butten events which is
# the default situation.
# The possible values are
#   0 = allows scroll mouse support
#   1 = disallows scroll mouse support
#
disablescrollmouse;0;1;0;
#
# nomorelogons
# ============
#
# stops any new logons being allowed on this machine. Reconnects are still
# allowed. This is to allow administrators to prepare a server be taken down 
# for maintenance.
#    0 = more logons can be accepted
#    1 = no more logons can be accepted
nomorelogons;0;1;0;
#
# stackthreadpoolsize
# ===================
#
# Maximum number of worker threads kept available to clean up message buffers.
# If all of the threads are utilized, a new thread is created to process
# additional events. Once the thread is finished, it will be destroyed.
stackthreadpoolsize;1;100;100;
#
# workitemeventbroadcast
# ======================
#
# Broadcast an event to all waiting worker threads when a message buffer needs
# to be cleaned up, instad of to a single thread only. In some situations this
# could improve throughput.
#    0 = send events to a single thread
#    1 = send events to all waiting threads
workitemeventbroadcast;0;1;0;
#
# fullyenumerategroups
# ====================
#
# Fully enumerate groups. Allows us to work with some servers that are known to
# not return all group information to getgrentbyname system call. Unsetting 
# might speed up authentication.
#
# 0 = use most efficient access methods
# 1 = use less efficient, but safe, access
fullyenumerategroups;0;1;1;
#
# authdialogs
# ====================
#
# Control the reporting of Authentication (PAM) generated messages generated
# as part of the authentication process. By default these are not reported
# to users in dialog boxes.
#
# 0 = disable Authentication dialog reporting to users
# 1 = enable Authentication dialog reporting to users
authdialogs;0;1;0;
#
# lossycompthreshold
# ==================
#
# bandwidth threshold in bytes per second under which lossy compression should
# be enabled.
#
# 0 = off
# nnn = nnn bytes per second, up to 100 megabytes
lossycompthreshold;0;104857600;0;
#
# lossycompquality
# ==================
#
# Compression quality for lossy compression.
#
# 20 = minimum quality, low bandwitch
# 95 = high quality, maximum bandwidth
#
lossycompquality;20;95;85;
#
# cachemasterbrowseraddressperiod
#
# Period in seconds for which the XML Service will cache the address of the
# Master browser. Longer periods mean that there will be less broadcasting
# on the network for the master browser, which should improve performance.
# However should there be an error with the master browser it will take
# longer to recover from. A value of 0 means the address is never cached and
# a broadcast will be made before each browser query.
cachemasterbrowseraddressperiod;0;100;2;
#
# lossycompchromass
# ==================
#
# Enable/disable chroma subsampling for lossy compression.
#
# 0 = subsampling is disabled (fewer compression artifacts, more bandwidth)
# 1 = subsampling is enabled (more compression artifacts, less bandwidth)
#
lossycompchromass;0;1;1;
