lfc_modifyusrmap man page

LFC_MODIFYUSRMAP(3)          LFC Library Functions         LFC_MODIFYUSRMAP(3)

      lfc_modifyusrmap  -  modify user entry corresponding to a given virtual

      [1m#include <sys/types.h>[0m
      [1m#include "lfc_api.h"[0m

      [1mint lfc_modifyusrmap (uid_t [4m[22muid[24m[1m, char *[4m[22mnewname[24m[1m, int [4m[22mstatus)[0m

      [1mlfc_modifyusrmap [22mmodifies the user entry corresponding to a given  vir-
      tual uid.

      [4muid[24m    specifies the Virtual User Id.

             specifies  the new user name.  It must be at most 255 characters

      [4mstatus[24m status can be set  to  0  or  a  combination  of  ARGUS_BAN  and

      This function requires ADMIN privilege.

      This  routine  returns  0  if the operation was successful or -1 if the
      operation failed. In the latter case, [1mserrno [22mis set appropriately.

      [1mEACCES       [22mThe caller does not have ADMIN privilege.

      [1mEFAULT       [4m[22mnewname[24m is a NULL pointer.

      [1mEEXIST       [22mThis user exists already.

      [1mEINVAL       [22mThis uid does not exist in the internal mapping  table  or
                   the length of [4mnewname[24m exceeds 255.

      [1mSENOSHOST    [22mHost unknown.

      [1mSENOSSERV    [22mService unknown.

      [1mSECOMERR     [22mCommunication error.

      [1mENSNACT      [22mName server is not running or is being shutdown.

LFC          $Date: 2010-08-04 09:58:47 +0200 (Wed, 04 Aug 2L0F1C0_)MO$DIFYUSRMAP(3)