1DPNS_ENTERGRPMAP(3)         DPNS Library Functions         DPNS_ENTERGRPMAP(3)
2
3
4

NAME

6       dpns_entergrpmap - define a new group entry in Virtual Id table
7

SYNOPSIS

9       #include <sys/types.h>
10       #include "dpns_api.h"
11
12       int dpns_entergrpmap (gid_t gid, char *groupname)
13

DESCRIPTION

15       dpns_entergrpmap defines a new group entry in Virtual Id table.
16
17       gid    specifies  the  Virtual  Group Id.  If the value is -1, the next
18              available id is allocated.
19
20       groupname
21              specifies the group name.
22
23       This function requires ADMIN privilege.
24

RETURN VALUE

26       This routine returns 0 if the operation was successful  or  -1  if  the
27       operation failed. In the latter case, serrno is set appropriately.
28

ERRORS

30       EACCES       The caller does not have ADMIN privilege.
31
32       EFAULT       groupname is a NULL pointer.
33
34       EEXIST       Group exists already.
35
36       EINVAL       The length of groupname exceeds 255.
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/13 16:22:46 $      DPNS_ENTERGRPMAP(3)
Impressum