Returned Values - Colubris Networks CN3000 Administrator's Manual

Table of Contents

Advertisement

Chapter 17 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Experimenting with NOC authentication - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Chapter 17
// Possible values for NOC_INFO_STATUS
#define
NOC_STATUS_SUCCESS
#define
NOC_STATUS_FAILURE
#define
NOC_STATUS_DISABLED
#define
NOC_STATUS_LOGGED_IN
// Possible values for NOC_INFO_INT_ERR_MESSAGE
#define
NOC_CANNOT_GET_PEER_CERT
#define
NOC_MISSING_USERNAME_OR_PASSWORD
#define
NOC_CERT_EXPIRED
#define
NOC_CERT_NOT_YET_VALID
#define
NOC_CERT_NOT_IDENTICAL
#define
NOC_CERT_NOT_SIGNED_BY_AUTHORIZED_CA
authorized-ca"
#else
#define
NOC_HTML_BEGIN
#define
NOC_HTML_END
#define
NOC_INFO_STATUS
#define
NOC_INFO_WELCOME_URL
#define
NOC_INFO_LOGIN_ERR_URL
#define
NOC_INFO_ERR_MESSAGE
#define
NOC_INFO_INT_ERR_MESSAGE
#define
NOC_INFO_SESSION_URL
// Possible values for NOC_INFO_STATUS
#define
NOC_STATUS_SUCCESS
#define
NOC_STATUS_FAILURE
#define
NOC_STATUS_DISABLED
#define
NOC_STATUS_LOGGED_IN
// Possible values for NOC_INFO_INT_ERR_MESSAGE
#define
NOC_CANNOT_GET_PEER_CERT
#define
NOC_MISSING_USERNAME_OR_PASSWORD
#define
NOC_CERT_EXPIRED
#define
NOC_CERT_NOT_YET_VALID
#define
NOC_CERT_NOT_IDENTICAL
#define
NOC_CERT_NOT_SIGNED_BY_AUTHORIZED_CA
ca"
#endif
#endif

Returned values

The following examples show the information returned for various authentication
conditions.
NOC authentication mode is not enabled:
<HTML>
NOC_INFO_STATUS=NOC_STATUS_DISABLED
</HTML>
The CN3000 did not receive the login application's SSL certificate
The login application did not send its certificate. Therefore, the request was rejected.
<HTML>
NOC_INFO_STATUS=NOC_STATUS_FAILURE
NOC_INFO_INT_ERR_MESSAGE=NOC_CANNOT_GET_PEER_CERT
</HTML>
Certificate mismatch
The login application sent an SSL certificate that does not match the one defined by ssl-
noc-certificate in the RADIUS profile for the CN3000.
<HTML>
NOC_INFO_STATUS=NOC_STATUS_FAILURE
NOC_INFO_INT_ERR_MESSAGE=NOC_CANNOT_GET_PEER_CERT
</HTML>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 411 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
L"success"
L"failure"
L"disabled"
L"already-logged-in"
L"cannot-get-peer-cert"
L"missing-username-or-password"
L"cert-expired"
L"cert-not-yet-valid"
L"cert-not-identical"
L"cert-not-signed-by-
"<html>"
"</html>"
"status"
"welcome-url"
"login-err-url"
"external-err-msg"
"local-err-msg"
"session-url"
"success"
"failure"
"disabled"
"already-logged-in"
"cannot-get-peer-cert"
"missing-username-or-password"
"cert-expired"
"cert-not-yet-valid"
"cert-not-identical"
"cert-not-signed-by-authorized-

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents