home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Neueste VersionenFixList
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IC76520 Status: Geschlossen

CREATE NICKNAME RETURNS SQL0901N (REASON "CRYPTDECRYPTBUFFER
FAILED")

Produkt:
DB2 FOR LUW / DB2FORLUW / 950 - DB2
Problembeschreibung:
Customised Federation Java API methods verifyMyRegisterUserInfo 
or verifyMyAlterUserInfo that include the REMOTE_PASSWORD option 
in the returned UserInfo object will not have the returned value 
encrypted by the Federation server before storing. 
 
On subsequent retrieval an error will be generated as the 
Federation server will expect the REMOTE_PASSWORD option's value 
to be encrypted. 
 
The fix ensure that the returned REMOTE_PASSWORD option values 
will be encrypted before storage. 
 
 
For example, if you run the sample demo from 
$HOME/sqllib/samples/wrappers/wrapper_sdk_java after changing 
the method verifyMyRegisterUserInfo from the class 
UnfencedFileRemoteUser like this : 
 
public UserInfo verifyMyRegisterUserInfo(UserInfo userInfo) 
 { 
  return userInfo; 
 } 
 
db2 "create user mapping for db2inst1 server file_server options 
(REMOTE_AUTHID 'auth_id',REMOTE_PASSWORD 'pass_word')" 
DB20000I  The SQL command completed successfully. 
 
You will receive the following error during the creation of the 
nickname : 
 
db2 "create nickname file_a(number integer, text char(20)) for 
server file_server options(file_path 
'"/home/db2inst1/sample_file_a.txt"')" 
DB21034E  The command was processed as an SQL statement because 
it was not a valid Command Line Processor command. 
During SQL processing it returned: 
 
SQL0901N  The SQL statement failed because of a non-severe 
system error. Subsequent SQL statements can be processed. 
(Reason "cryptDecryptBuffer failed".)  SQLSTATE=58004 
 
 
Because the password is not encrypted in the federated catalog 
table : 
 
db2 "select 
substr(servername,1,20),substr(authid,1,20),substr(option,1,20), 
substr(setting,1,20),authidtype from sysibm.sysuseroptions" 
 
 
1                         2                       3 
4               AUTHIDTYPE 
-------------------- -------------------- 
------------------------  ------------- -------------- 
FILE_SERVER         DB2INST1         REMOTE_AUTHID 
auth_id      U 
FILE_SERVER         DB2INST1         REMOTE_PASSWORD  pass_word 
U 
 
  2 record(s) selected.
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 9.5 FP9                                       * 
****************************************************************
Local-Fix:
Return a UserInfo object that doesn't include the 
REMOTE_PASSWORD option.
verfügbare FixPacks:
DB2 Version 9.5 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 10 for Linux, UNIX, and Windows

Lösung
The problem is first fixed in DB2 9.5 FP9
Workaround
keiner bekannt / siehe Local-Fix
Bug-Verfolgung
Vorgänger  : APAR is sysrouted TO one or more of the following: IC76765 
Nachfolger : 
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
20.05.2011
04.04.2012
04.04.2012
Problem behoben ab folgender Versionen (IBM BugInfos)
9.5.FP9
Problem behoben lt. FixList in der Version
9.5.0.9 FixList