Module nis
[hide private]
[frames] | no frames]

Module nis

This module contains functions for accessing NIS maps.

Classes [hide private]
error
Functions [hide private]
 
cat(map, domain= defaultdomain)
Returns the entire map as a dictionary.
str
get_default_domain()
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.
Function Details [hide private]

cat(map, domain= defaultdomain)

 

Returns the entire map as a dictionary. Optionally domain can be specified but it defaults to the system default domain.

maps(domain= defaultdomain)

 

Returns an array of all available NIS maps within a domain. If domain is not specified it defaults to the system default domain.

match(key, map, domain= defaultdomain)

 

Corresponds to the C library yp_match() call, returning the value of key in the given map. Optionally domain can be specified but it defaults to the system default domain.