1DPNS_RMUSRMAP(3)            DPNS Library Functions            DP‐
2NS_RMUSRMAP(3)
3
4
5
6[1mNAME[0m
7       dpns_rmusrmap  ‐  suppress  user entry corresponding to  a
8given virtual
9       uid or user name
10
11[1mSYNOPSIS[0m
12       [1m#include <sys/types.h>[0m
13       [1m#include "dpns_api.h"[0m
14
15       [1mint   dpns_rmusrmap   (uid_t   [4m[22muid[24m[1m,  char
16*[4m[22musername[24m[1m)[0m
17
18[1mDESCRIPTION[0m
19       [1mdpns_rmusrmap [22msuppresses the user entry correspond‐
20ing to a  given  vir‐
21       tual  uid  or user name.  If both are specified, they must
22point at the
23       same entry.
24
25       [4muid[24m    specifies the Virtual User Id.
26
27       [4musername[0m
28              specifies the user name.
29
30       This function requires ADMIN privilege.
31
32[1mRETURN VALUE[0m
33       This routine returns 0 if the operation was successful  or
34‐1  if  the
35       operation failed. In the latter case, [1mserrno [22mis set
36appropriately.
37
38[1mERRORS[0m
39       [1mEACCES       [22mThe caller does not have ADMIN  privi‐
40lege.
41
42       [1mEINVAL        [22mThis   user does not exist in the in‐
43ternal mapping table or
44                    the length of [4musername[24m exceeds 255  or
45[4muid[24m and [4musername[24m  do
46                    not point at the same entry.
47
48       [1mSENOSHOST    [22mHost unknown.
49
50       [1mSENOSSERV    [22mService unknown.
51
52       [1mSECOMERR     [22mCommunication error.
53
54       [1mENSNACT      [22mName server is not running or is being
55shutdown.
56
57
58
59DPNS                     $Date: 2006/01/12 16:29:33 $         DP‐
60NS_RMUSRMAP(3)
61
62
63
64
65
66
Impressum