IBM Support

Error SQL1101N When Accessing Federation Objects Without User Mapping

Troubleshooting


Problem

If no user mapping defined for user who connects to federated database, SQL1101N could return when accessing federated objects like nicknames. Sometimes, it works if you specify authorization ID and password explicitly when connect to federated database as below: CONNECT to USER using

Symptom

When accessing remote data source without user mapping defined for user who connects to federated database, you might encounter one of the following scenarios:

1) Error SQL1101N will return if user connects to federated database without providing explicit authorization ID and password. E.g.

CONNECT to <fed_db>

select * from nickname1

SQL1101N Remote database "remote_db" on node "" could not be accessed with the specified authorization id and password. SQLSTATE=08004

2) Accessing data source succeeds if you explicitly specify authorization ID and password for connection to federated database. E.g.

CONNECT to <fed_db> USER <username> USING <password>

select * from nickname1

-- successfully get results

Note: This query can work only when <username> and <password> are also valid for the remote database meaning the federated <username> and <password> are the same as the target database username and password

3) With the same operations as 2), we can get SQL1101N error if the federated authorization ID and password specified for connection to federated database are not valid for the remote database.

[{"Product":{"code":"SS2K5T","label":"InfoSphere Federation Server"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Federated Server","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"9.1;9.5;9.7;8.2;10.1;10.5","Edition":"All Editions","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
25 April 2025

UID

swg21440229