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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

CHAP/MS-CHAP/ARAP Procedure Output<br />

12-42<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 />

Chapter 12 <strong>User</strong> Databases<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 a stored procedure.<br />

Table 12-4 CHAP/MS-CHAP/ARAP 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<br />

entries.<br />

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

an error occurs.<br />

CSNTpassword String 0-255 characters. ACS authenticates the password.<br />

Note If the password field in the database is defined by using a char datatype rather than<br />

varchar, the database might return a string that is 255 characters long; regardless of<br />

actual password length. We recommend using the varchar datatype <strong>for</strong> the CHAP<br />

password field in your ODBC database.<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 />

EAP-TLS Authentication Procedure Input<br />

ACS provides a single value <strong>for</strong> input to the stored procedure that supports EAP-TLS authentication. The<br />

stored procedure should accept the named input value as a variable.<br />

Note Because ACS per<strong>for</strong>ms authentication <strong>for</strong> EAP-TLS, the user password is not an input (Table 12-3).<br />

Table 12-5 EAP-TLS Stored Procedure Input<br />

Field Type Explanation<br />

CSNTusername String 0-64 characters<br />

The input name is <strong>for</strong> guidance only. A procedure variable that is created from it can have a different<br />

name.<br />

OL-14386-02

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

Saved successfully!

Ooh no, something went wrong!