Ruijie Community

Title: Definition of errcode in the Portal Protocol [Print this page]

Author: admin    Time: 2018-4-10 08:33
Title: Definition of errcode in the Portal Protocol
Definition of errcode in the Portal Protocol

Author: admin    Time: 2018-4-10 08:35
(1) When the Type value is set to 2, inack_challenge:
ErrCode = 0: The AC informs the Portal server that the Challenge request is successful.
ErrCode = 1: The AC informs the Portal server that the Challenge request is denied because the portal packet has an error orthe user does not exist on the AC.
ErrCode = 2: The AC informs the Portal server that the link is created. When another authentication request is sent after theuser has passed authentication, errcode2 is returned.
ErrCode = 3: The AC informs the Portal server that a user is being authenticated and the request should be sent later. The AC has sent an authentication request to the RADIUS server but RADIUS server does not send response. If the Portal server sends req_challeage during this periodof time, errcode3 is returned.
ErrCode = 4: The AC informs the Portal server that the user's Challenge request fails because the AC has an inner error.
Note: When the ErrCode is not 0, see theErrID value to find the cause.

(2) When the Type value is set to 4, inack_auth:
ErrCode = 0: The AC informs the Portal serverthat the user authentication is successful.
ErrCode = 1: The AC informs the Portal serverthat the user authentication request is denied because the portal packet has anerror (due to incorrect req_id or portal attribute) or the RADIUS serverreturns the authentication rejection packet.
ErrCode = 2: The AC informs the Portal serverthat the link has been created.
ErrCode = 3: The AC informs the Portal serverthat a user is being authenticated and the request should be sent later.
ErrCode = 4: The AC informs the Portal serverthat the user's authentication request fails because of an error.
Note: When the ErrCode is not 0, see theErrID value to find the cause.






Welcome to Ruijie Community (https://community.ruijienetworks.com/) Powered by Discuz! X3.2