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 > Client authorization

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-02-12, 02:14
rajshri rajshri is offline
Registered User
 
Join Date: Dec 2011
Posts: 14
Red face Client authorization

hi all,
after running db2 "RESET DBM CFG" command, is there any parameter in dbm cfg hav to configure(db2 8.2 on AIX)?
as bcoz of running this command. i unable to connect with client tool(RAZOR SQL) and through application also.
i can access AIX db2 even all type of commands running fine..
but client is not accessible with db2 instance.


Thank you.
Reply With Quote
  #2 (permalink)  
Old 02-02-12, 02:19
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
check authentication - default is server - so connect is needed with target userid/pw from system where db2 is residing - also check svcename - this is the mapping to the port the instance is listening
and the error is ??
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #3 (permalink)  
Old 02-02-12, 02:27
rajshri rajshri is offline
Registered User
 
Join Date: Dec 2011
Posts: 14
Red face Check authorization

thank you.

but how to check authorization? i mean is there any command?

by running db2 "get dbm cfg " i got this o/p regarding authorization..

Client Userid-Password Plugin (CLNT_PW_PLUGIN) =
Client Kerberos Plugin (CLNT_KRB_PLUGIN) = IBMkrb5
Group Plugin (GROUP_PLUGIN) =
GSS Plugin for Local Authorization (LOCAL_GSSPLUGIN) =
Server Plugin Mode (SRV_PLUGIN_MODE) = UNFENCED
Server List of GSS Plugins (SRVCON_GSSPLUGIN_LIST) =
Server Userid-Password Plugin (SRVCON_PW_PLUGIN) =
Server Connection Authentication (SRVCON_AUTH) = NOT_SPECIFIED
Database manager authentication (AUTHENTICATION) = CLIENT
Cataloging allowed without authority (CATALOG_NOAUTH) = NO
Trust all clients (TRUST_ALLCLNTS) = YES
Trusted client authentication (TRUST_CLNTAUTH) = CLIENT
Bypass federated authentication (FED_NOAUTH) = NO


and if there any updation do let me know.
thank you.
Reply With Quote
  #4 (permalink)  
Old 02-02-12, 02:31
rajshri rajshri is offline
Registered User
 
Join Date: Dec 2011
Posts: 14
Red face Check authorization

when i am trying to connect to client tool (RAZOR SQL) it gives

ERROR: An error occurred while trying to make a connection to
the database:

JDBC URL: jdbc:db2://172.20.2.51:50000/IRISDBTO

[jcc][t4][2043][11550][3.57.82]
Exception java.net.ConnectException:
Error opening socket to server /172.20.2.51 on
port 50,000 with message: Connection refused: connect. ERRORCODE=-4499,
SQLSTATE=08001

bt working fine on AIX.

what to do?
Reply With Quote
  #5 (permalink)  
Old 02-02-12, 04:50
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
it is (not authorization)
Database manager authentication (AUTHENTICATION) = SERVER
if you have a db2 client installed - try native connect from clp and see rc..
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #6 (permalink)  
Old 02-02-12, 04:58
rajshri rajshri is offline
Registered User
 
Join Date: Dec 2011
Posts: 14
Red face Check authorization

thank u 4 ur reply.
as u said,
Database manager authentication (AUTHENTICATION) = SERVER

i have client tool (RAZOR SQL)
i dnt understand ur last line.
wht do i check?

thanks again.
Reply With Quote
  #7 (permalink)  
Old 02-02-12, 05:40
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
all doc is available here
IBM DB2 9.5 Information Center for Linux, UNIX, and Windows
try to find how to setup a client connection and test this connection
Configuring client-to-server connections using the command line processor
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
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