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

NAME

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

SYNOPSIS

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

DESCRIPTION

16       lfc_rmusrmap suppresses the user entry corresponding to a given virtual
17       uid  or  user name.  If both are specified, they must point at the same
18       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
48LFC                      $Date: 2006/01/12 16:29:33 $          LFC_RMUSRMAP(3)
Impressum