1DPNS_RMGRPMAP(3) DPNS Library Functions DPNS_RMGRPMAP(3)
2
3
4
6 dpns_rmgrpmap - suppress group entry corresponding to a given virtual
7 gid or group name
8
10 #include <sys/types.h>
11 #include "dpns_api.h"
12
13 int dpns_rmgrpmap (gid_t gid, char *groupname)
14
16 dpns_rmgrpmap suppresses the group entry corresponding to a given vir‐
17 tual gid or group name. If both are specified, they must point at the
18 same entry.
19
20 gid specifies the Virtual Group Id.
21
22 groupname
23 specifies the group name.
24
25 This function requires ADMIN privilege.
26
28 This routine returns 0 if the operation was successful or -1 if the
29 operation failed. In the latter case, serrno is set appropriately.
30
32 EACCES The caller does not have ADMIN privilege.
33
34 EINVAL This group does not exist in the internal mapping table or
35 the length of groupname exceeds 255 or gid and groupname
36 do not point at the same entry.
37
38 SENOSHOST Host unknown.
39
40 SENOSSERV Service unknown.
41
42 SECOMERR Communication error.
43
44 ENSNACT Name server is not running or is being shutdown.
45
46
47
48DPNS $Date: 2006/01/12 16:29:33 $ DPNS_RMGRPMAP(3)