nis

This module contains functions for accessing NIS maps.

Functions

cat(map, domain = defaultdomain) Returns the entire map as a dictionary.
get_default_domain(() -> str) Corresponds to the C library yp_get_default_domain() call, returning the default NIS domain.
maps(domain = defaultdomain) Returns an array of all available NIS maps within a domain.
match(key, map, domain = defaultdomain) Corresponds to the C library yp_match() call, returning the value of key in the given map.

Exceptions

error