Name : perl-NIS
| |
Version : a2
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 6.27
| Date : 2017-10-01 20:38:24
|
Group : Development/Libraries/Perl
| Source RPM : perl-NIS-a2-6.27.src.rpm
|
Size : 0.04 MB
| |
Packager : (none)
| |
Summary : Interface to Sun\'s Network Information Service
|
Description :
The Net::NIS interface comes in two parts. The first part is the raw implementation of the NIS API. The second is the object interface, described in the Net::NIS::Table manpage. This document describes the NIS API implementation.
The NIS package implements all functions described in the the ypclnt(3N) manpage manual page.
The following commands have been implemented:
* yp_bind($domain)
Bind the process to a NIS server for the domain $domain. This function is rarely needed. See the yp_bind(3N) manpage.
* yp_unbind($domain)
Unbind the process from the specified $domain. This function is also rarely required. See the yp_unbind(3N) manpage.
* $domain = yp_get_default_domain()
Return the host\'s local domain. (The same as the the domainname manpage program). See the yp_get_default_domain(3N) manpage.
* ($status, $value) = yp_match($domain, $map, $key)
Return the $value for the given $key in the $map for the domain $domain. The $key must be an exact match for an item in the map (_i.e._ yp_match does no partial matching. The $value is only valid if $status is equal to $YP_SUCCESS.
* ($status, $key, $value) = yp_first($domain, $map)
Return the first key-value pair from $map in $domain. As the NIS maps are stored in a DBM table, the order of the returned values is not obvious.
* ($status, $key, $value) = yp_next($domain, $map, $key)
Return the next key-value pair from $map in $domain. The $key must be provided from the previous the yp_first manpage or the yp_next manpage. The the yp_first manpage/the yp_next manpage method is not recommended, as under some circumstances, entries can be skipped or returned twice. the yp_all manpage is a better interface to use.
* ($status, \\%values) = yp_all($domain, $map)
The the yp_all manpage call returns an entire map in the %values associative array.
* ($status, $order) = yp_order($domain, $map)
This function returns the order number for $domain. Whatever that is. It mustn\'t be very important, since it\'s not implemented on NIS+ servers running in \"YP-compatibility mode\". I put it in for completeness.
* ($status, $name) = yp_master($domain, $map)
Returns the machine name of the master server for a map.
* $error = yperr_string($status)
Returns a string representation of the error code passed in $status.
* $status = ypprot_err($code)
Translates a NIS name service protocol error code to a ypclnt layer error code. Only used for the C version of the yp_all manpage, and it is only implemented here for completeness.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-N/openSUSE_Tumbleweed/x86_64 |