1LFC_RMGRPMAP(3)              LFC Library Functions             LFC_RMGRPMAP(3)
2
3
4

NAME

6       lfc_rmgrpmap  -  suppress  group entry corresponding to a given virtual
7       gid or group name
8

SYNOPSIS

10       #include <sys/types.h>
11       #include "lfc_api.h"
12
13       int lfc_rmgrpmap (gid_t gid, char *groupname)
14

DESCRIPTION

16       lfc_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

RETURN VALUE

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

ERRORS

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
48LFC                      $Date: 2006/01/12 16:29:33 $          LFC_RMGRPMAP(3)
Impressum