svcerr_weakauth()--Send Authentication Error Indication to a Client


  Syntax

 #include <rpc/rpc.h>

 void svcerr_weakauth(const SVCXPRT *xprt);

  Service Program Name: QZNFTRPC

  Default Public Authority: *USE

  Threadsafe: No

The svcerr_weakauth() function sends information to a remote client that the server dispatch function detected an authentication error.


Parameters

xprt  (Input) 
A pointer to the RPC service transport handle.

Authorities

No authorization is required.


Return Value

None.


Error Conditions

In case of an exception, the errno global variable is set to EUNKNOWN.


Error Messages

Message ID Error Message Text
CPF3CF2 E Error(s) occurred during running of &1 API.
CPF9872 E Program or service program &1 in library &2 ended. Reason code &3.


Example

Refer to the example for svcerr_systemerr()--Send Information to Client for System Error



API introduced: V4R2
Top | Remote Procedure Call (RPC) APIs | APIs by category