Paradyne SLM 5.5 manual Configuring Http Challenge/Response

Page 44

5. Apache User Access Authentication

Configuring HTTP Challenge/Response

Follow this procedure to configure HTTP Challenge/Response for OpenLane access authentication with the Apache Web server.

Procedure

1.If OpenLane is running, stop it.

2.Find the directory where Apache is installed. This is the directory where the file named apache (on Solaris) or apache.exe (on Windows) resides.

3.In a command line window, change to the Apache directory with the cd command. For example:

cd /opt/apache (Solaris) cd \opt\apache (Windows)

4.Under the /opt/apache/conf (or C:\opt\apache\conf) directory, open the file called httpd.conf. If the Apache configuration files were installed with OpenLane, then the text referred to below is commented out in the httpd.conf file.

Uncomment the text and make sure the AuthUserFile parameter (ordinarily /opt/pdn/OpenLane/database/config/ in Solaris and C:\opt\pdn\OpenLane\database\config\ in Windows) is correct. If the Apache configuration files were installed during an OpenLane installation, AuthUserFile is already set.

<Location "/OLServlets/*"> order allow,deny

allow from all AuthType Basic AuthName "OpenLane"

AuthUserFile /opt/pdn/OpenLane/database/config/.htpasswd require valid-user

</Location>

In this case, forward slashes should be used in the directory name for both Solaris and Windows.

If the commented text is not found, add the text as shown to the bottom of the file, specifying the location of the .htpasswd file where usernames and passwords are stored. The directory name must be an absolute path (full directory path and filename).

5.Change to the /opt/apache/bin (Solaris) or c:\opt\apache\bin

(Windows) directory.

6.Run htpasswd. The first time you use the htpasswd command, use the -cparameter to create the password file:

Solaris: htpasswd -c /opt/pdn/OpenLane/database/config/.htpasswdusername

Windows: htpasswd.exe -c c:\opt\pdn\OpenLane\database\config\.htpasswd username

5-2

January 2002

7800-A2-GB32-00

Image 44
Contents OpenLane SLM Copyright 2002 Paradyne Corporation All rights reserved Contents Apache User Access Authentication Installing OpenLane on WindowsConfiguring Distributed Components Adding Devices and Customer Profiles OpenLane MaintenanceBuilding and Using a Firmware Library Index Using XML to Produce ReportsOLCmd Reference Document Summary About This GuideDocument Purpose and Intended Audience Product-Related Documents Library → Technical ManualsEasy Installation Introduction to OpenLane SLMOpenLane SLM Network MonitoringOpenLane Features About These Instructions Installing OpenLane on SolarisPlanning the Installation Software Requirements Installation RequirementsMinimum Hardware Requirements Procedure Checking the Java Runtime Environment VersionUninstalling DCE Manager Uninstalling Performance WizardDCEinstall Cd /opt/OV/pdn/PerfWiz UnInstallToOVOpt/pdn/OpenLane OpenLane Installation ProgramOpt/apache User = nobody Group = nobody Obtaining a License Key Installing from Paradyne’s Web SiteSetup.sh Installing from CD-ROM Installing from FTP FilesInstalling Remotely Using Installing the Permanent License KeyExport DISPLAY=localhostname0.0 Setenv Display localhostname0.0Locating the License Key On an Installed System Migration to Current Release for OracleDisplaying the License Key Expiration Date OLCmd keyStarting OpenLane Web and Database Services Stopping OpenLane Web and Database ServicesConfiguring Apache to Use a Different Port Installing OpenLane on Solaris January Installing OpenLane on Windows MHz Processor Web Client Software Requirements Cd \opt\OV\pdn\PerfWiz uninstalltoov \opt\pdn\OpenLane \Program Files\Apache Group\Apache\opt\apache Procedure Cd \opt\pdn\OpenLane Migration to Current Release for Oracle Starting OpenLane Web and Database Services Stopping OpenLane Web and Database Services Http//olserver.com8080/openlane Installing OpenLane on Windows January Configuring Distributed Components OpenLane Distributed ComponentsSetting Up Web Server Distribution OpenLane in /opt/pdn/OpenLaneSolaris Operational Notes Http//172.20.1.10/OpenLaneSetting Up the Distributed Poller and Reader Distributed Poller/Reader Management Server SetupCd /opt/pdn/OpenLane OLControl stop Cd /opt/pdn/OpenLane/uhpoller mkdir pollerpoller1OLCmd Dbconfig ‘-m 172.20.1.10’ OLCmd Dbconfig ‘-m 172.20.1.101521’Cd /opt/pdn/OpenLane OLControl start OLCmd logsvcREADERDOMAIN=default Distributed Poller/Reader Poller/Reader SetupDOMAIN=default OLControl stop Apache User Access Authentication User Access AuthenticationChange to the /opt/apache/bin Solaris or c\opt\apache\bin Configuring Http Challenge/ResponseCd /opt/apache Solaris cd \opt\apache Windows Removing a User’s Access \opt\pdn\OpenLane WindowsOLCmd confauth on OLCmd confauth offApache User Access Authentication January Accessing the OpenLane Web Applications Adding Devices and Customer ProfilesAdmin Adding a DeviceNew Device Field Names Field Description Adding a Customer Profile 7800-A2-GB32-00 January Adding Devices and Customer Profiles OpenLane Maintenance Task Importance Ideal FrequencyBacking Up OpenLane Files Oracle DatabaseGzip -d /backupdir/backup.tar.gz tar xvf backup.tar Backing Up OpenLane Under SolarisRestoring OpenLane Under Solaris Opt/pdn/OpenLane/dataBacking Up OpenLane Under Windows Restoring OpenLane Under WindowsDeleting Older Records from the Database FrequencyUsing Cron Under Solaris to Automate Reports Generating Scheduled ReportsAutomating the Generation of Scheduled Reports Cd /opt/pdn/OpenLane OLCmd processreportsUsing AT under Windows to Automate Reports Cd \opt\pdn\OpenLane OLCmd processreportsRebuilding Oracle Database Indexes SQL Database Log File Monitoring Log FilesApache Log Files Legacy Logger Log Files OLCmd clean logs .logArchiving and Deleting Log Files Uploading Configurations Click on Click here to schedule the tasksOpenLane Maintenance January Building and Using a Firmware Library Building a Firmware LibraryVersion=filename 01.02.01=R010201.ocd9880=fw9880 New Device Models Not Supported by OpenLaneModel=directory Model=devicetype DbmDslaan DslasnDownloading and Activating Firmware Building and Using a Firmware Library Building and Using a Firmware Library January OLCmd Reference Olcmd viewlog -h OLCmd HelpsCd \opt\pdn\openlane olcmd confauth on OLCmd addcust OLCmd addcust -a realtime -c ExactCorporation Rent-a-Phone.com Rent-a-PhoneGmbH Rent-a-PhoneUSAOLCmd assigndev -c ExactCorporation -l exactdevices.txt OLCmd assigndevOLCmd assigndev -c ExactCorporation -a OLCmd chgrawfileext -d dallas -o bad -e raw OLCmd chgrawfileextOLCmd chgrawfileext -o raw -e ftp OLCmd clean OLCmd clean \opt\apache\logs .log 21 adminOLCmd confauth OLCmd confauth on offOLCmd dbage OLCmd dbconfig OLCmd dbconfig -d c o -a instance -l -hUrl OLCmd dbcopy OLCmd dbcopy d OracleStatsDBOLCmd dbip OLCmd dbipOLCmd dbip address OLCmd dbroll DatabaseinstanceIpaddress OLCmd dbroll -e 20010101000000 -rOLCmd delcust -l ex-customers.txt OLCmd delcustOLCmd delcust -ccustomer -lcustomer-list OLCmd deldev OLCmd deldevOLCmd deldev ipaddress OLCmd dumpldap OLCmd dumpldap hostLdiffile OLCmd importldifOLCmd importldif -h host ldiffile OLCmd key WZBCK-AAM6E-U898Q-MX5HK OLCmd keyOLCmd key licensekey OLCmd OLCmd ldapmodify -D c=US -w admin -a -c data/new.ldifOLCmd ldapmodify OLCmd ldapsearch -n-D bindDN -w password -h host -p port OLCmd ldapsearchDebuglevel OLCmd logsvc OLCmd logsvc ipaddressOLCmd processreports Date dateEnddate enddate OLCmd processreports -date 05/13/2001 -customer ExactCorpOLCmd snmpget OLCmd snmpget communityname ipaddress objectidObjectid OLCmd snmpget 135.26.10.37Ipaddress Is the address of the device to be accessed OLCmd snmptestOLCmd snmptest ipaddress communityname OLCmd snmptest 135.26.10.37 nmswriteOLCmd sync OLCmd sync OLCmd uhread -ccommand -npoller-name CommandOLCmd uhread Poller-nameOLCmd unassigndev -c ExactCorporation -l exactdevices.txt OLCmd unassigndevOLCmd unassigndev -c ExactCorporation -a OLCmd viewlog Firmware/Configuration/Feature Maintenance UHLister Poller ControllerUHReader Database Reader OLCmd viewlog -f fi -sd 05/07/2000 -ed 05/13/2000 UHReaderOLCmd xmlreport XmlrequestfileXmloutputfile XsltransformfileOLCmd Reference January XML Reports Using XML to Produce ReportsCommand Line Interface OLCmd xmlreport Servlet Interface SlvXmlServlet Writing an Interface to the ServletOpt/pdn/OpenLane/OLServlets/pdn.webcgi.SlvXmlServlet Opt/pdn/OpenLane/samples/xml/reports/xmlentry.html. You canXML and XSL Examples Additional ResourcesOpt/pdn/OpenLane/samples/xml/reports/DeviceReports/Requests Opt/pdn/OpenLane/samples/xml/reports/DeviceReports/ReportsUsing XML to Produce Reports January Index IN-1IN-2 IN-3 IN-4