Installer Agreement

As the creator of the VCL image, you are responsible for understanding and complying with the terms and conditions of the license agreement(s) for all software installed within the VCL image.

Please note that many licenses for instructional use do not allow research or other use. You should be familiar with these license terms and conditions, and limit the use of your image accordingly.

%s

** If you have software licensing questions or would like assistance regarding specific terms and conditions, please contact software@example.org.

"; ####################### end required modifications ########################### define("DEFAULTGROUP", "adminUsers"); // if a user is in no groups, use reservation // length attriubtes from this group define("DEFAULT_AFFILID", 1); define("DAYSAHEAD", 4); // number of days after today that can be scheduled define("DEFAULT_PRIVNODE", 2); define("MAXVMLIMIT", 100); define("SCHEDULER_ALLOCATE_RANDOM_COMPUTER", 0); // set this to 1 to have the scheduler assign a randomly allocated // computer of those available; set to 0 to assign the computer with // the best combination of specs define("PRIV_CACHE_TIMEOUT", 15); // time (in minutes) that we cache privileges in a session before reloading them /// defines the min number of block request machines define("MIN_BLOCK_MACHINES", 1); /// defines the max number of block request machines define("MAX_BLOCK_MACHINES", 70); /// defines the URL used for the Documentation link in the navigation list define("DOCUMENTATIONURL", "https://cwiki.apache.org/VCLDOCS/"); define("USEFILTERINGSELECT", 1); // set to 1 to use a dojo filteringselects for some of the select boxes // the filteringselect can be a little slow for a large number of items define("FILTERINGSELECTTHRESHOLD", 1000); // if USEFILTERINGSELECT = 1, only use them for selects up to this size define("DEFAULTTHEME", 'default'); // this is the theme that will be used when the site is placed in maintenance if $_COOKIE['VCLSKIN'] is not set define("HELPFAQURL", "http://vcl.example.org/help-faq/"); $ENABLE_ITECSAUTH = 0; // use ITECS accounts (also called "Non-NCSU" accounts) $userlookupUsers = array(1, # admin ); $xmlrpcBlockAPIUsers = array(3, # 3 = vclsystem ); @require_once(".ht-inc/secrets.php"); $authMechs = array( "Local Account" => array("type" => "local", "affiliationid" => 1, "help" => "Only use Local Account if there are no other options"), /*"Shibboleth (UNC Federation)" => array("type" => "redirect", "URL" => "https://federation.northcarolina.edu/wayf/wayf_framed.php?fed=FED_SHIB_UNC_DEV&version=dropdown&entityID=https%3A%2F%2Fvcl.ncsu.edu%2Fsp%2Fshibboleth&return=http%3A%2F%2Fvcl.ncsu.edu%2FShibboleth.sso%2FDS%3FSAMLDS%3D1%26target%3Dhttp%3A%2F%2Fvcl.ncsu.edu%2Fscheduling%2Fshibauth%2F", "affiliationid" => 0, "help" => "Use Shibboleth (UNC Federation) if you are from a University in the UNC system and do not see another method specifically for your university"),*/ /*"EXAMPLE1 LDAP" => array("type" => "ldap", "server" => "ldap.example.com", # hostname of the ldap server "binddn" => "dc=example,dc=com", # base dn for ldap server "userid" => "%s@example.com", # this is what we add to the actual login id to authenticate a user via ldap # use a '%s' where the actual login id will go # for example1: 'uid=%s,ou=accounts,dc=example,dc=com' # example2: '%s@example.com' # example3: '%s@ad.example.com' "unityid" => "samAccountName", # ldap field that contains the user's login id "firstname" => "givenname", # ldap field that contains the user's first name "lastname" => "sn", # ldap field that contains the user's last name "email" => "mail", # ldap field that contains the user's email address "defaultemail" => "@example.com", # if for some reason an email address may not be returned for a user, this is what # can be added to the user's login id to send mail "masterlogin" => "vcluser", # privileged login id for ldap server "masterpwd" => "*********", # privileged login password for ldap server "affiliationid" => 3, # id from affiliation id this login method is associated with "help" => "Use EXAMPLE1 LDAP if you are using an EXAMPLE1 account"), # message to be displayed on login page about when # to use this login mechanism*/ ); $affilValFunc = array(1 => create_function('', 'return 0;'), /*3 => "validateLDAPUser",*/ ); $affilValFuncArgs = array(/*3 => 'EXAMPLE1 LDAP',*/ ); $addUserFunc = array(1 => create_function('', 'return 0;'), /*3 => 'addLDAPUser',*/ ); $addUserFuncArgs = array(/*3 => 'EXAMPLE1 LDAP',*/ ); $updateUserFunc = array(1 => create_function('', 'return 0;'), /*3 => 'updateLDAPUser',*/ ); $updateUserFuncArgs = array(/*3 => 'EXAMPLE1 LDAP',*/ ); $findAffilFuncs = array("testGeneralAffiliation"); #require_once(".ht-inc/authmethods/itecsauth.php"); #require_once(".ht-inc/authmethods/ldapauth.php"); #require_once(".ht-inc/authmethods/shibauth.php"); ?>