Paradyne SLM 5.5 manual OLCmd ldapsearch -n-D bindDN -w password -h host -p port

Page 91

A. OLCmd Reference

OLCmd ldapsearch

The ldapsearch command retrieves data from the LDAP database based on search criteria.

Format:

OLCmd ldapsearch [-n][-D bindDN] [-w password] [-h host ] [-p port ]

[-bsearchbase] [-Fseparator ] [-Ssort_attrib] [-ltime_limit ] [-zsize_limit ] [-u][-t][-B][-A][-L][-v][-ddebug_level ]

Where:

 

-n

Specifies that the command will return information on

 

what would be changed if executed, but does not

 

modify entries.

-DbindDN

Is the Distinguished Name (DN) used to bind to the

 

directory.

-wpassword

Is the database password.

-hhost

Is the name or IP address of the OpenLane

 

management server.

-pport

Is the port used to connect to the LDAP database.

-bsearchbase

Is an attribute value denoting the starting point of the

 

search.

-Fseparator

Is the character used as a separator between attribute

 

names and values. The default is an equal sign (=).

 

This parameter is ignored if -Lis specified.

-Ssort_attrib

Is the attribute used to sort the entries returned.

-ltime_limit

Is the amount of time which may elapse before the

 

search is abandoned.

-zsize_limit

Is the size of the output (in bytes) which may be

 

produced before the search is abandoned.

-u

Specifies that the output should include the

 

human-readable form of the Distinguished Name.

-t

Specifies that retrieved values should be written to

 

temporary files.

-B

Specifies that non-ASCII values should not be

 

suppressed.

-A

Specifies that only attribute names (not values) should

 

be retrieved.

-L

Specifies that search results should be displayed in

 

LDAP Data Interchange Format (LDIF).

7800-A2-GB32-00

January 2002

A-21

Image 91
Contents OpenLane SLM Copyright 2002 Paradyne Corporation All rights reserved Contents Configuring Distributed Components Installing OpenLane on WindowsApache User Access Authentication Building and Using a Firmware Library OpenLane MaintenanceAdding Devices and Customer Profiles OLCmd Reference Using XML to Produce ReportsIndex Document Purpose and Intended Audience About This GuideDocument Summary Library → Technical Manuals Product-Related DocumentsNetwork Monitoring Easy InstallationIntroduction to OpenLane SLM OpenLane SLMOpenLane Features Planning the Installation Installing OpenLane on SolarisAbout These Instructions Minimum Hardware Requirements Installation RequirementsSoftware Requirements Checking the Java Runtime Environment Version ProcedureCd /opt/OV/pdn/PerfWiz UnInstallToOV Uninstalling DCE ManagerUninstalling Performance Wizard DCEinstallOpt/apache OpenLane Installation ProgramOpt/pdn/OpenLane Setup.sh Obtaining a License Key Installing from Paradyne’s Web SiteUser = nobody Group = nobody Installing from FTP Files Installing from CD-ROMSetenv Display localhostname0.0 Installing Remotely UsingInstalling the Permanent License Key Export DISPLAY=localhostname0.0OLCmd key Locating the License Key On an Installed SystemMigration to Current Release for Oracle Displaying the License Key Expiration DateStopping OpenLane Web and Database Services Starting 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\apache \Program Files\Apache Group\Apache\opt\pdn\OpenLane 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 OpenLane Distributed Components Configuring Distributed ComponentsOpenLane in /opt/pdn/OpenLane Setting Up Web Server DistributionSolaris Http//172.20.1.10/OpenLane Operational NotesCd /opt/pdn/OpenLane/uhpoller mkdir pollerpoller1 Setting Up the Distributed Poller and ReaderDistributed Poller/Reader Management Server Setup Cd /opt/pdn/OpenLane OLControl stopOLCmd logsvc OLCmd Dbconfig ‘-m 172.20.1.10’OLCmd Dbconfig ‘-m 172.20.1.101521’ Cd /opt/pdn/OpenLane OLControl startDOMAIN=default Distributed Poller/Reader Poller/Reader SetupREADERDOMAIN=default OLControl stop User Access Authentication Apache User Access AuthenticationCd /opt/apache Solaris cd \opt\apache Windows Configuring Http Challenge/ResponseChange to the /opt/apache/bin Solaris or c\opt\apache\bin OLCmd confauth off Removing a User’s Access\opt\pdn\OpenLane Windows OLCmd confauth onApache User Access Authentication January Adding Devices and Customer Profiles Accessing the OpenLane Web ApplicationsAdding a Device AdminNew Device Field Names Field Description Adding a Customer Profile 7800-A2-GB32-00 January Adding Devices and Customer Profiles Task Importance Ideal Frequency OpenLane MaintenanceOracle Database Backing Up OpenLane FilesOpt/pdn/OpenLane/data Gzip -d /backupdir/backup.tar.gz tar xvf backup.tarBacking Up OpenLane Under Solaris Restoring OpenLane Under SolarisRestoring OpenLane Under Windows Backing Up OpenLane Under WindowsFrequency Deleting Older Records from the DatabaseCd /opt/pdn/OpenLane OLCmd processreports Using Cron Under Solaris to Automate ReportsGenerating Scheduled Reports Automating the Generation of Scheduled ReportsCd \opt\pdn\OpenLane OLCmd processreports Using AT under Windows to Automate ReportsRebuilding Oracle Database Indexes Apache Log Files Monitoring Log FilesSQL Database Log File Archiving and Deleting Log Files OLCmd clean logs .logLegacy Logger Log Files Click on Click here to schedule the tasks Uploading ConfigurationsOpenLane Maintenance January 01.02.01=R010201.ocd Building and Using a Firmware LibraryBuilding a Firmware Library Version=filenameModel=directory New Device Models Not Supported by OpenLane9880=fw9880 Dslasn Model=devicetypeDbm DslaanDownloading and Activating Firmware Building and Using a Firmware Library Building and Using a Firmware Library January OLCmd Reference Cd \opt\pdn\openlane olcmd confauth on OLCmd HelpsOlcmd viewlog -h OLCmd addcust Rent-a-Phone.com Rent-a-PhoneGmbH Rent-a-PhoneUSA OLCmd addcust -a realtime -c ExactCorporationOLCmd assigndev -c ExactCorporation -a OLCmd assigndevOLCmd assigndev -c ExactCorporation -l exactdevices.txt OLCmd chgrawfileext -o raw -e ftp OLCmd chgrawfileextOLCmd chgrawfileext -d dallas -o bad -e raw OLCmd clean \opt\apache\logs .log 21 admin OLCmd cleanOLCmd confauth on off OLCmd confauthOLCmd dbage OLCmd dbconfig -d c o -a instance -l -h OLCmd dbconfigUrl OLCmd dbcopy d OracleStatsDB OLCmd dbcopyOLCmd dbip address OLCmd dbipOLCmd dbip OLCmd dbroll -e 20010101000000 -r OLCmd dbrollDatabaseinstance IpaddressOLCmd delcust -ccustomer -lcustomer-list OLCmd delcustOLCmd delcust -l ex-customers.txt OLCmd deldev ipaddress OLCmd deldevOLCmd deldev OLCmd dumpldap host OLCmd dumpldapOLCmd importldif -h host ldiffile OLCmd importldifLdiffile OLCmd key licensekey OLCmd keyOLCmd key WZBCK-AAM6E-U898Q-MX5HK OLCmd ldapmodify OLCmd ldapmodify -D c=US -w admin -a -c data/new.ldifOLCmd OLCmd ldapsearch OLCmd ldapsearch -n-D bindDN -w password -h host -p portDebuglevel OLCmd logsvc ipaddress OLCmd logsvcOLCmd processreports -date 05/13/2001 -customer ExactCorp OLCmd processreportsDate date Enddate enddateOLCmd snmpget 135.26.10.37 OLCmd snmpgetOLCmd snmpget communityname ipaddress objectid ObjectidOLCmd snmptest 135.26.10.37 nmswrite Ipaddress Is the address of the device to be accessedOLCmd snmptest OLCmd snmptest ipaddress communitynameOLCmd sync OLCmd sync Poller-name OLCmd uhread -ccommand -npoller-nameCommand OLCmd uhreadOLCmd unassigndev -c ExactCorporation -a OLCmd unassigndevOLCmd unassigndev -c ExactCorporation -l exactdevices.txt OLCmd viewlog OLCmd viewlog -f fi -sd 05/07/2000 -ed 05/13/2000 UHReader Firmware/Configuration/Feature MaintenanceUHLister Poller Controller UHReader Database ReaderXsltransformfile OLCmd xmlreportXmlrequestfile XmloutputfileOLCmd Reference January Command Line Interface OLCmd xmlreport Using XML to Produce ReportsXML Reports Opt/pdn/OpenLane/samples/xml/reports/xmlentry.html. You can Servlet Interface SlvXmlServletWriting an Interface to the Servlet Opt/pdn/OpenLane/OLServlets/pdn.webcgi.SlvXmlServletOpt/pdn/OpenLane/samples/xml/reports/DeviceReports/Reports XML and XSL ExamplesAdditional Resources Opt/pdn/OpenLane/samples/xml/reports/DeviceReports/RequestsUsing XML to Produce Reports January IN-1 IndexIN-2 IN-3 IN-4