nisplus
Sun’s newer version of NIS V8.7 and later
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.[349] 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.
Table 23-20. The nisplus database-map type K command switches
Switch |
§ |
Description |
---|---|---|
|
-a on page 887 |
Append tag on successful match. |
|
-D on page 887 |
Don’t use this database map if |
|
-f on page 887 |
Don’t fold keys to lowercase. |
|
-k on page 888 |
Specify column for key or key name. |
|
-m on page 888 |
Suppress replacement on match. |
|
-o on page 889 |
This database map is optional. |
|
-q on page 889 |
Don’t strip quotes from key. |
|
-S on page 890 |
Space replacement character. |
|
-T on page 890 |
Suffix to append on temporary failure. |
|
-t on page 891 |
Ignore temporary errors. |
Get sendmail, 4th 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.