Sample Routine For Generating An Sql Chap Authentication Procedure - Cisco 3.3 User Manual

For windows server version 3.3
Table of Contents

Advertisement

Chapter 13
User Databases
GRANT EXECUTE ON dbo.CSNTAuthUserPap TO ciscosecure
GO
Sample Routine for Generating an SQL CHAP Authentication
Procedure
if exists (select * from sysobjects where id =
object_id(`dbo.CSNTExtractUserClearTextPw') and sysstat & 0xf = 4)
drop procedure dbo.CSNTExtractUserClearTextPw
GO
CREATE PROCEDURE CSNTExtractUserClearTextPw
@username varchar(64)
AS
SET NOCOUNT ON
username
IF EXISTS( SELECT
users
FROM
username
WHERE
= @username )
csntgroup
csntacctinfo
SELECT 0,
,
users
FROM
username
WHERE
= @username
ELSE
SELECT 3,0,"odbc","ODBC Authen Error"
GO
GRANT EXECUTE ON dbo.CSNTExtractUserClearTextPw TO ciscosecure
GO
78-16592-01
The following example routine creates in Microsoft SQL Server a procedure
named CSNTExtractUserClearTextPw, the default procedure used by
Cisco Secure ACS for CHAP/MS-CHAP/ARAP authentication. Table and
column names that could vary for your database schema are presented in variable
text. For more information about data type definitions, procedure parameters, and
procedure results, see
,"No Error",
ODBC Database, page
csntpassword
User Guide for Cisco Secure ACS for Windows Server
ODBC Database
13-55.
13-63

Advertisement

Table of Contents
loading

This manual is also suitable for:

Secure access control serverSecure acs

Table of Contents