HP-UX Reference (11i v2 04/09) - 3 Library Functions N-Z (vol 7)

n
nis_names(3N) nis_names(3N)
NIS_NOTMASTER
An attempt was made to update the database on a replica server.
NIS_INVALIDOBJ
The object pointed to by obj is not a valid NIS+ object.
NIS_BADNAME The name passed to the function is not a legal NIS+ name.
NIS_LINKNAMEERROR
The name passed resolved to a LINK type object and the contents of the link
pointed to an invalid name.
NIS_NOTSAMEOBJ
An attempt to remove an object from the namespace was aborted because the
object that would have been removed was not the same object that was passed
in the request.
NIS_NOSUCHNAME
This hard error indicates that the named directory of the table object does not
exist. This occurs when the server that should be the parent of the server that
serves the table, does not know about the directory in which the table resides.
NIS_NOSUCHTABLE
The named table does not exist.
NIS_MODFAIL The attempted modification failed.
NIS_FOREIGNNS
The name could not be completely resolved. When the name passed to the
function would resolve in a namespace that is outside the NIS+ name tree, this
error is returned with a NIS+ object of type
DIRECTORY, which contains the
type of namespace and contact information for a server within that
namespace.
NIS_RPCERROR This fatal error indicates the RPC subsystem failed in some way. Generally
there will be a syslog(3C) message indicating why the RPC request failed.
ENVIRONMENT
NIS_PATH If the flag EXPAND_NAME is set, this variable is the search path used by
nis_lookup().
WARNINGS
HP-UX 11i Version 2 is the last HP-UX release on which NIS+ is supported.
LDAP is the recommended replacement for NIS+. HP fully supports the industry standard naming ser-
vices based on LDAP.
NOTES
You cannot modify the name of an object if that modification would cause the object to reside in a different
domain.
You cannot modify the schema of a table object.
SEE ALSO
nis_error(3N), nis_objects(3N), nis_server(3N), nis_subr(3N), nis_tables(3N).
HP-UX 11i Version 2: September 2004 4 Hewlett-Packard Company Section 3667