Problem Note 50535: A "Security processing failed" error occurs when you use a DB2 user ID that is case sensitive
When you use SAS/ACCESS
® Interface to DB2 with a user ID that is case sensitive, running code against DB2 might lead to this error:
ERROR: CLI error trying to establish connection: [IBM][CLI Driver] SQL30082N
Security processing failed with reason "24" ("USERNAME AND/OR PASSWORD INVALID").
SQLSTATE=08001
The error occurs because your SAS
® software is sending the user ID in uppercase characters to the database.
Workaround
SAS has a new LIBNAME option to maintain the case when passing the user ID to the database. Use the LIBNAME statement option as follows:
PRESERVE_USER=YES
To set this option globally, use the environment variable as shown here:
SAS_DB2_PRESERVE_USER
Set the environment variable on your Windows system as follows:
- Select Start ► Control Panel.
- Click System to display the window that contains your system information.
- Click the Advanced system settings link, in the upper left part of the window.
- In the System Properties dialog box, click the Environment Variables button.
- Under System variables, click New to open the New System Variable dialog box.
- Enter the variable name: SAS_DB2_PRESERVE_USER NAME
- Enter the variable value: YES
- Click OK, OK, and OK.
To set the option on a UNIX system, add it to the !SASROOT/bin/sasenv_local file where !SASROOT is the directory in which you installed your SAS software.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS/ACCESS Interface to DB2 | Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS2M3 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS2M3 | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS2M3 | |
Microsoft Windows XP 64-bit Edition | 9.2 TS2M3 | |
Microsoft® Windows® for x64 | 9.2 TS2M3 | 9.4 TS1M1 |
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS2M3 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS2M3 | |
Microsoft Windows Server 2003 Standard Edition | 9.2 TS2M3 | |
Microsoft Windows Server 2003 for x64 | 9.2 TS2M3 | |
Microsoft Windows Server 2008 | 9.2 TS2M3 | |
Microsoft Windows Server 2008 R2 for x64 | 9.2 TS2M3 | 9.4 TS1M1 |
Microsoft Windows Server 2008 for x64 | 9.2 TS2M3 | 9.4 TS1M1 |
Microsoft Windows XP Professional | 9.2 TS2M3 | |
Windows 7 Enterprise 32 bit | 9.2 TS2M3 | |
Windows 7 Enterprise x64 | 9.2 TS2M3 | |
Windows 7 Home Premium 32 bit | 9.2 TS2M3 | |
Windows 7 Home Premium x64 | 9.2 TS2M3 | |
Windows 7 Professional 32 bit | 9.2 TS2M3 | |
Windows 7 Professional x64 | 9.2 TS2M3 | |
Windows 7 Ultimate 32 bit | 9.2 TS2M3 | |
Windows 7 Ultimate x64 | 9.2 TS2M3 | |
Windows Vista | 9.2 TS2M3 | |
Windows Vista for x64 | 9.2 TS2M3 | |
64-bit Enabled AIX | 9.2 TS2M3 | 9.4 TS1M1 |
64-bit Enabled HP-UX | 9.2 TS2M3 | 9.4 TS1M1 |
64-bit Enabled Solaris | 9.2 TS2M3 | 9.4 TS1M1 |
HP-UX IPF | 9.2 TS2M3 | 9.4 TS1M1 |
Linux | 9.2 TS2M3 | 9.4 TS1M1 |
Linux for x64 | 9.2 TS2M3 | 9.4 TS1M1 |
Solaris for x64 | 9.2 TS2M3 | 9.4 TS1M1 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2014-01-31 12:38:23 |
Date Created: | 2013-07-29 13:27:29 |