1DPNS_MODIFYUSRMAP(3)         DPNS  Library  Functions         DP‐
2NS_MODIFYUSRMAP(3)
3
4
5
6[1mNAME[0m
7       dpns_modifyusrmap  ‐ modify user entry corresponding to  a
8given virtual
9       uid
10
11[1mSYNOPSIS[0m
12       [1m#include <sys/types.h>[0m
13       [1m#include "dpns_api.h"[0m
14
15       [1mint  dpns_modifyusrmap  (uid_t  [4m[22muid[24m[1m, char
16*[4m[22mnewname[24m[1m, int [4m[22mstatus)[0m
17
18[1mDESCRIPTION[0m
19       [1mdpns_modifyusrmap [22mmodifies the  user  entry  corre‐
20sponding to a given vir‐
21       tual uid.
22
23       [4muid[24m    specifies the Virtual User Id.
24
25       [4mnewname[0m
26              specifies   the  new user name.  It must be at most
27255 characters
28              long.
29
30       [4mstatus[24m status can be set  to  0  or  a  combination
31of  ARGUS_BAN  and
32              LOCAL_BAN.
33
34       This function requires ADMIN privilege.
35
36[1mRETURN VALUE[0m
37       This  routine  returns  0  if the operation was successful
38or ‐1 if the
39       operation failed. In the latter case, [1mserrno [22mis set
40appropriately.
41
42[1mERRORS[0m
43       [1mEACCES        [22mThe caller does not have ADMIN privi‐
44lege.
45
46       [1mEFAULT       [4m[22mnewname[24m is a NULL pointer.
47
48       [1mEEXIST       [22mThis user exists already.
49
50       [1mEINVAL       [22mThis uid does not exist in the  inter‐
51nal mapping  table  or
52                    the length of [4mnewname[24m exceeds 255.
53
54       [1mSENOSHOST    [22mHost unknown.
55
56       [1mSENOSSERV    [22mService unknown.
57
58       [1mSECOMERR     [22mCommunication error.
59
60       [1mENSNACT      [22mName server is not running or is being
61shutdown.
62
63
64
65DPNS                                  $Date$                  DP‐
66NS_MODIFYUSRMAP(3)
Impressum