1LFC_ENTERUSRMAP(3)                LFC      Library      Functions
2LFC_ENTERUSRMAP(3)
3
4
5
6[1mNAME[0m
7       lfc_enterusrmap ‐ define a new user entry  in  Virtual  Id
8table
9
10[1mSYNOPSIS[0m
11       [1m#include <sys/types.h>[0m
12       [1m#include "lfc_api.h"[0m
13
14       [1mint   lfc_enterusrmap  (uid_t  [4m[22muid[24m[1m,  char
15*[4m[22musername[24m[1m)[0m
16
17[1mDESCRIPTION[0m
18       [1mlfc_enterusrmap [22mdefines a new user entry in Virtual
19Id table.
20
21       [4muid[24m     specifies   the  Virtual  User  Id.  If the
22value is ‐1, the next
23              available id is allocated.
24
25       [4musername[0m
26              specifies the user name.
27
28       This function requires ADMIN privilege.
29
30[1mRETURN VALUE[0m
31       This routine returns 0 if the operation was successful  or
32‐1  if  the
33       operation failed. In the latter case, [1mserrno [22mis set
34appropriately.
35
36[1mERRORS[0m
37       [1mEACCES       [22mThe caller does not have ADMIN  privi‐
38lege.
39
40       [1mEFAULT       [4m[22musername[24m is a NULL pointer.
41
42       [1mEEXIST       [22mUser exists already.
43
44       [1mEINVAL        [22mThe length of [4musername[24m exceeds
45255.
46
47       [1mSENOSHOST    [22mHost unknown.
48
49       [1mSENOSSERV    [22mService unknown.
50
51       [1mSECOMERR     [22mCommunication error.
52
53       [1mENSNACT      [22mName server is not running or is being
54shutdown.
55
56
57
58LFC                         $Date:    2006/01/13    16:22:46    $
59LFC_ENTERUSRMAP(3)
60
61
62
63
64
65
66
Impressum