If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Implicit DB2 connections

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-10-04, 13:14
dmilks dmilks is offline
Registered User
 
Join Date: Aug 2002
Posts: 8
Implicit DB2 connections

Hi. Is it possible to do implicit DB2 connections to a database on another machine? Example: I logon to a server through Putty and want to connect to a DB on another UNIX server on the network without having to provide a password. Is this possible? How would I do this?

Thanks,
- Dylan
Reply With Quote
  #2 (permalink)  
Old 12-13-04, 10:38
dmilks dmilks is offline
Registered User
 
Join Date: Aug 2002
Posts: 8
Can anyone help me with this?
Reply With Quote
  #3 (permalink)  
Old 12-13-04, 11:12
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
If you catalog the remote database on the local UNIX server (the one you log on to), then you can connect to database on the other machine. If the userid and password of your logon is the same on the local machine as is needed for the remote database, then you might be able to do what you want (but I am not sure about that). There are some front end tools that will store the userid and password for remote databases, but the IBM supplied tools will not do this (to the best of my knowledge).
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390

Last edited by Marcus_A; 12-13-04 at 12:00.
Reply With Quote
  #4 (permalink)  
Old 12-13-04, 11:22
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by Marcus_A
If the userid and password of your logon is the same on the local machine as is needed for the remote database, then you might be able to do what you want (but I am not sure about that).
I don't think it'll work. You can specify AUTHENTICATION CLIENT on the database server, in that case DB2 will trust your authentication on the client machine and you won't be required to enter your password when connecting to the database. However, it may compromise your database security. Have a look at
Administraton Guide: Implementation for more details regarding DB2 authentication options.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On