SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 41921: ERROR: ORACLE connection error: ORA-01017: invalid username/password; logon denied.

DetailsHotfixAboutRate It

The following error can be issued with SAS® 9.2 when passwords have been encrypted by PWENCODE. The same code may have worked with SAS 9.1.

ERROR: ORACLE connection error: ORA-01017: invalid username/password; logon denied. 

SAS 9.2 decoding algorithm was changed to correct the incorrect way SAS 9.1 was parsing through passed strings. It did not strip anything, but if it hit something that it did not like, it thought it was done and just continued on. In SAS 9.2, the error checking has been tightened up. There is no stripping, and it expects the length being passed to be the length of the password to handle.

This error occurs because this string now contains trailing blanks whereas in SAS 9.1 it did not.

The workaround is to use the symputx() function to read in the password which strips off the blanks.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASMicrosoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M3 SP4
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.1 TS1M3 SP4
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.1 TS1M3 SP4
Microsoft Windows XP 64-bit Edition9.1 TS1M3 SP4
Microsoft Windows 2000 Advanced Server9.1 TS1M3 SP4
Microsoft Windows 2000 Datacenter Server9.1 TS1M3 SP4
Microsoft Windows 2000 Server9.1 TS1M3 SP4
Microsoft Windows 2000 Professional9.1 TS1M3 SP4
Microsoft Windows NT Workstation9.1 TS1M3 SP4
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M3 SP4
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M3 SP4
Microsoft Windows Server 2003 Standard Edition9.1 TS1M3 SP4
Microsoft Windows XP Professional9.1 TS1M3 SP4
Windows Vista9.1 TS1M3 SP4
Windows Vista for x649.1 TS1M3 SP4
64-bit Enabled AIX9.1 TS1M3 SP4
64-bit Enabled HP-UX9.1 TS1M3 SP4
64-bit Enabled Solaris9.1 TS1M3 SP4
HP-UX IPF9.1 TS1M3 SP4
Linux9.1 TS1M3 SP4
Linux on Itanium9.1 TS1M3 SP4
OpenVMS Alpha9.1 TS1M3 SP4
Solaris for x649.1 TS1M3 SP4
Tru64 UNIX9.1 TS1M3 SP4
* 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.