06.05.2013 Views

User Guide for Cisco Secure Access Control Server - Stewing Home

User Guide for Cisco Secure Access Control Server - Stewing Home

User Guide for Cisco Secure Access Control Server - Stewing Home

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 12 <strong>User</strong> Databases<br />

EAP-TLS Procedure Output<br />

Result Codes<br />

OL-14386-02<br />

ODBC Database (ACS <strong>for</strong> Windows Only)<br />

The stored procedure must return a single row that contains the nonnull fields.<br />

Table 12-4 lists the procedure results that ACS expects as output from stored procedure.<br />

Table 12-6 EAP-TLS Stored Procedure Results<br />

Field Type Explanation<br />

CSNTresult Integer See Table 12-7 Result Codes.<br />

CSNTgroup Integer The ACS group number <strong>for</strong> authorization. You use 0xFFFFFFFF to assign the default value.<br />

Values other than 0-499 are converted to the default.<br />

Note The group that is specified in the CSNTgroup field overrides group mapping that is<br />

configured <strong>for</strong> the ODBC external user database.<br />

CSNTacctInfo String 0-15 characters. A customer-defined string that ACS adds to subsequent account log file entries.<br />

CSNTerrorString String 0-255 characters. A customer-defined string that ACS writes to the CSAuth service log file if an<br />

error occurs.<br />

The CSNTGroup and CSNTacctInfo fields are processed only after a successful authentication. The<br />

CSNTerrorString file is logged only after a failure (if the result is greater than or equal to 4).<br />

Note If the ODBC database returns data in recordset <strong>for</strong>mat, rather than in parameters, the procedure must<br />

return the result fields in the order previously listed.<br />

You can set the result codes that are listed in Table 12-7.<br />

Table 12-7 Result Codes<br />

Result Code Meaning<br />

0 (zero) Authentication successful<br />

1 Unknown username<br />

2 Invalid password<br />

3 Unknown username or invalid password<br />

4+ Internal error—authentication not processed<br />

The SQL procedure can decide among 1, 2, or 3 to indicate a failure, depending on how much<br />

in<strong>for</strong>mation that you want the failed authentication log files to include.<br />

A return code of 4 or higher results in an authentication error event. These errors do not increment<br />

per-user failed attempt counters. Additionally, error codes are returned to the AAA client so it can<br />

distinguish between errors and failures and, if configured to do so, fall back to a backup AAA server.<br />

Successful or failed authentications are not logged; general ACS logging mechanisms apply. In the event<br />

of an error (CSNTresult equal to or less than 4), the contents of the CSNTerrorString are written to the<br />

Windows Event Log under the Application Log.<br />

<strong>User</strong> <strong>Guide</strong> <strong>for</strong> <strong>Cisco</strong> <strong>Secure</strong> <strong>Access</strong> <strong>Control</strong> <strong>Server</strong> 4.2<br />

12-43

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!