Apple Network Services Location Manager Network User Manual
Page 6
6
SLP Registration in Mac OS 9.1 and OS X
The SLP plug-in in Mac OS 9.1 and Mac OS X uses a different algorithm from the plug-in in
Mac OS 9 to decide which network neighborhood (SLP scope) to register the service in:
m
If a mandated scope is specified by a Dynamic Host Configuration Protocol server (DHCP
SLP service scope option, code 79), the SLP plug-in registers the service in a neighborhood
named for that scope.
m
If the DHCP server does not specify a mandatory scope, the plug-in registers the service in
the neighborhood specified in any known configuration or preference file (like the one set
using the AppleScript “Set my network neighborhood,” available in the OS 9.1 online help
topic “Sharing a USB Printer”).
m
If no neighborhood is found in a configuration or preference file, the plug-in registers the
service in a neighborhood named for a voluntary scope specified by DHCP.
m
If none of these steps yields a neighborhood, the plug-in registers the service in the default
SLP scope, which is listed as the Local Services neighborhood.
Setting Up for LDAP Searches
The NSL Manager uses its LDAP plug-in to search LDAP directories for network services.
LDAP in Mac OS 9 and Mac OS 9.1
The NSL Manager’s LDAP plug-in always searches the server and associated searchbase
specified in the LDAP Services fields in the Hosts settings on the Advanced tab of the Internet
control panel. Services discovered in this default directory are listed in a neighborhood that
has the same name as the LDAP server.
Applications and users can request the plug-in to search additional LDAP directories. Using the
Network Browser, for example, you can browse an LDAP directory by adding a neighborhood
with the name of the server and the searchbase in this form:
<servername>%2f<searchbase>
Example:
ldap.example.com%2fc=us
Note: Choosing an item from the Favorites list in the Network Browser causes all active NSL
plug-ins to perform a search. When you choose an LDAP server from the Favorites list, the
DNS plug-in may also respond, generating a “nameserver not responding” message. If DNS
browsing is not needed, you can disable the DNS plug-in using the Extensions Manager control
panel. (The DNS plug-in is not included in Mac OS 9.1.)