1DPNS_RMGRPMAP(3)            DPNS Library Functions            DP‐
2NS_RMGRPMAP(3)
3
4
5
6[1mNAME[0m
7       dpns_rmgrpmap  ‐  suppress group entry corresponding to  a
8given virtual
9       gid or group name
10
11[1mSYNOPSIS[0m
12       [1m#include <sys/types.h>[0m
13       [1m#include "dpns_api.h"[0m
14
15       [1mint   dpns_rmgrpmap   (gid_t   [4m[22mgid[24m[1m,  char
16*[4m[22mgroupname[24m[1m)[0m
17
18[1mDESCRIPTION[0m
19       [1mdpns_rmgrpmap [22msuppresses  the  group  entry  corre‐
20sponding to a given  vir‐
21       tual  gid or group name.  If both are specified, they must
22point at the
23       same entry.
24
25       [4mgid[24m    specifies the Virtual Group Id.
26
27       [4mgroupname[0m
28              specifies the group 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  group does not exist in the in‐
43ternal mapping table or
44                    the length of [4mgroupname[24m exceeds 255 or
45[4mgid[24m  and  [4mgroupname[0m
46                    do 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_RMGRPMAP(3)
61
62
63
64
65
66
Impressum