dpns_rmusrmap man page


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

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

[1mint dpns_rmusrmap (uid_t [4m[22muid[24m[1m, char *[4m[22musername[24m[1m)[0m

[1mdpns_rmusrmap [22msuppresses the user entry corresponding to a given vir-
tual uid or user name. If both are specified, they must point at the
same entry.

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

specifies the user name.

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.

[1mEINVAL [22mThis user does not exist in the internal mapping table or
the length of [4musername[24m exceeds 255 or [4muid[24m and [4musername[24m do
not point at the same entry.

[1mSENOSHOST [22mHost unknown.

[1mSENOSSERV [22mService unknown.

[1mSECOMERR [22mCommunication error.

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

DPNS $Date: 2006/01/12 16:29:33 $ DPNS_RMUSRMAP(3)