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

NAME

6       dpns_rmusrmap  -  suppress  user entry corresponding to a given virtual
7       uid or user name
8

SYNOPSIS

10       #include <sys/types.h>
11       #include "dpns_api.h"
12
13       int dpns_rmusrmap (uid_t uid, char *username)
14

DESCRIPTION

16       dpns_rmusrmap suppresses the user entry corresponding to a  given  vir‐
17       tual  uid  or user name.  If both are specified, they must point at the
18       same entry.
19
20       uid    specifies the Virtual User Id.
21
22       username
23              specifies the user 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  user does not exist in the internal mapping table or
35                    the length of username exceeds 255 or uid and username  do
36                    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_RMUSRMAP(3)
Impressum