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.

"; @require_once(".ht-inc/secrets.php"); $authMechs = array( "Local Account" => array("type" => "local", "affiliationid" => 4, "help" => "Only use Local Account if there are no other options"), /*"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 #"middlename" => "middlename", # ldap field that contains the user's middle name (optional) "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" => 2, # 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;'), /*2 => "validateLDAPUser",*/ ); $affilValFuncArgs = array(/*2 => 'EXAMPLE1 LDAP',*/ ); $addUserFunc = array(1 => create_function('', 'return 0;'), /*2 => 'addLDAPUser',*/ ); $addUserFuncArgs = array(/*2 => 'EXAMPLE1 LDAP',*/ ); $updateUserFunc = array(1 => create_function('', 'return 0;'), /*2 => 'updateLDAPUser',*/ ); $updateUserFuncArgs = array(/*2 => 'EXAMPLE1 LDAP',*/ ); $findAffilFuncs = array("testGeneralAffiliation"); #require_once(".ht-inc/authmethods/itecsauth.php"); #require_once(".ht-inc/authmethods/ldapauth.php"); ?>