Configuring EZproxy to use the Patron Dump Method
From WCN
The Patron Dump Method is a straightforward authentication method to implement and is used when there is no direct access to the ILS.
The steps to implement are:
1. WCN Patron Load Method File Format details the file format that is required for the parsing script
2. Put script in working directory that the parsing script has access to.
3. Run parsing script. Patron Dump Method Parsing Script, This script will will take the dump file and create a user.txt file
4. Copy user.txt file to EZproxy directory
This process can be scheduled in windows or cron to be updated nightly, weekly or monthly.
[edit] EZproxy Configuration - Patron Dump Method
[edit] Sample config.txt
RunAs ezproxy:ezproxy
Name proxy.vdxhost.com LoginPort 2049 Interface ANY
Option DisableSSL40bit LoginPortSSL 8443
Option UserObject Option UserObjectTestMode
#MaxLifetime 5
RedirectSafe oclc.org RedirectSafe vdxhost.com RedirectSafe worldcat.org
LocalWSKey <insert wskey here>
[edit] Sample user.txt
Here is a basic user.txt file that is used for a single institution. Note that the “admin” login must appear as the first line of the file and above the “::Common” section.
admin:<insert password here>:admin ::Common Debug Set session:groupNumber=<insert group number> Set session:instNumber=<insert inst number> Set session:dateFormat="MM-DD-YYYY" Set session:bannedInRemoteCirculation="Y"
If login:user eq "BXL01PAT" && login:pass eq "patron" { Set session:uid="BXL01PAT" Set session:forename="Patron" Set session:surname="Boston College Law Library" Set sessionemailAddress=”patron@college.edu” Set session:location="BXL" Set session:category=”PATRO” Set session:joinDate=”06-09-2009” Set session:expiryDate=”06-09-2010” Set session:bannedInRemoteCirculation="N" Accept Stop } /Common
