HP-UX IP Address and Client Management Administrator's Guide HP-UX 11i v2, HP-UX 11i v3

Table 6-5 UA Configuration Properties
DescriptionProperty
An RFC 1766 language tag for the language locale. Setting this property
causes the property value to become the default locale for SLP messages.
Default is en. Additionally, you can use this property to configure the SA
and DA.
Currently SLP recognizes only en (English language) and ignores any other
language tag.
net.slp.locale
A 32-bit integer that specifies the maximum number of results to accumulate
and return for a synchronous request before the timeout, or the maximum
number of results to return through a callback if the request results are
reported asynchronously.
DAs and SAs always return all results that match the request. This
configuration value applies only to UAs that filter incoming results and
only return as many values as net.slp.maxResults indicates.
net.slp.maxResults
A value list of service type names. In the absence of any DAs, UAs perform
SA discovery for finding scopes. These SA discovery requests may contain
a request for service types as an attribute.
net.slp.typeHint
Static Registration
The SLP implementation allows legacy service applications that are not SLP enabled (that is,
applications that were not compiled to use the SLP library) to participate in the SLP framework,
allowing UAs to dynamically discover these legacy services. The SLP software contains a default
file, /etc/slp.reg, to provide the service information of these non-SLP-enabled applications.
The SLP daemon, slpd, reads this default file during startup, and it rereads this file whenever
a SIGHUP signal is received. You can specify a different file using the -r option of the slpd
command.
As an example, to register the SSH service, add the following line in the /etc/slp.reg file:
## Register
ssh service
service:ssh.openslp://192.168.10.1,
en, 65535
Sample slp.conf File
A sample slp.conf file is as follows:
#--------------------------------------------------------
# Static Scope and DA Configuration #--------------------------------------------------------
# A value list of strings indicating the scopes that a UA or
# SA is allowed to use while making requests or
# registrations, or the scopes that a DA must support. The
# default value is DEFAULT ;net.slp.useScopes = myScope1, myScope2, myScope3
# Allows administrator to force UA and SA agents to use
# specific DAs. If this setting is not used, dynamic DA
# specific DAs. If this setting is not used, dynamic DA
# (Default is to use dynamic DA discovery)
;net.slp.DAAddresses = myDa1,myDa2,myDa3 #--------------------------------------------------------
# Network Configuration Properties #--------------------------------------------------------
# Force broadcasts to be used instead of multicast. This
# setting is seldom necessary because SLP automatically uses
# broadcast if multicast is unavailable. (Default is false)
;net.slp.isBroadcastOnly = true # A Boolean value indicating whether passive DA detection
# should be used. (Default is true)
;net.slp.passiveDADetection = false
140 Configuring SLP