Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ yp_update(3R) — DG/UX 5.4.2A

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

yp(3R)

ypclnt(3N)

yppasswd(3R)



yp_update(3R)                     ONC 5.4.2                    yp_update(3R)


NAME
       ypupdate - change NIS information

SYNOPSIS
       #include <rpcsvc/ypclnt.h>

       ypupdate(domain, map, ypop, key, keylen, data, datalen)
          char *domain;
          char *map;
          unsigned ypop;
          char *key;
          int keylen;
          char *data;
          int datalen;

DESCRIPTION
       Ypupdate(3R) is used to make changes to the NIS database.  The
       syntax is the same as that of ypmatch(3N) except for the extra
       parameter ypop which may take on one of four values:

       YPOPCHANGE  The data associated with the key will be changed to the
                    new value.  If the key is not found in the database,
                    then ypupdate returns YPERR_KEY.

       YPOPINSERT  The key-value pair will be inserted into the database.
                    The error YPERR_KEY is returned if the key already
                    exists in the database.

       YPOPSTORE   An item is stored into the database without concern for
                    whether it exists already or not; no error is returned
                    if the key already or does not exist.

       YPOPDELETE  An entry is deleted.

       This routine depends upon secure RPC, and will not work unless the
       network is running secure RPC.

SEE ALSO
       yp(3R), ypclnt(3N), yppasswd(3R), Managing ONC/NFS and Its Facilities
       on the DG/UX System.

















Licensed material--property of copyright holder(s)                         1


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026