Name
nisplus
Synopsis
Sun
Microsystems’ NIS+ is a complete redo of its earlier
NIS system. The nisplus
type allows you to look up
information using NIS+. The form of that type declaration looks like
this:
Kname nisplus nismap.domain
Here, the nismap
is an NIS+ database-map
name, such as mail_aliases.[13] If the
domain
or
.domain
is missing, the
nisplus default domain is used. If the entire
nismap.domain
is missing, the default
becomes mail_aliases.org_dir. The domain
org_dir contains all the systemwide
administration tables.
Any lookup failures that can be retried will automatically be retried
up to five times, with a sleep(3) of 2 seconds
between each try. If the map.domain
doesn’t exist in the local NIS+ system, no error is
reported.
Only a modest number of database switches are available for this type. They are listed in Table 23-20.
Switch |
§ |
Description |
|
Append tag on successful match | |
|
Don’t use this database map if DeliveryMode=defer | |
|
Don’t fold keys to lowercase | |
|
Specify column for key or key name | |
|
Suppress replacement on match | |
|
This database map is optional | |
|
Don’t strip quotes from key | |
|
Space replacement character | |
|
Suffix to append on temporary failure | |
|
Ignore temporary errors | |
|
Specify the value’s column |
You can use the -k
switch to specify a
key
column to look up. Under
nisplus, columns are named, so the
-k
must be followed ...
Get Sendmail, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.