ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Can broker use non-interactive IDs to connect to databases

Post new topic  Reply to topic
 Can broker use non-interactive IDs to connect to databases « View previous topic :: View next topic » 
Author Message
sclarke
PostPosted: Thu Oct 08, 2009 7:01 am    Post subject: Can broker use non-interactive IDs to connect to databases Reply with quote

Apprentice

Joined: 05 Jan 2002
Posts: 39

We are trying to shutdown the ability to login to AIX using the IDs which the broker uses to access external databases and it's own db2 database. The aix administrator disabled the ability of the id to login and the ability to remotely login as that id - making it a non-interactive ID The broker now gets db2 return code SQL30082N with rc=19 which means "The userid has been disabled, or the userid has been restricted from accessing the operating environment at this time"

I am not a db2 administrator or an aix admin and my administrators have not experienced this before (and they are looking into this as well) but thought I would ask this forum if anyone knows the answer.

What I know or at least wht the DBA told me:
AUTHENTICATION is performed outside of DB2. It is performed by a security facility outside of the DB2 dbms (such as the AIX OS). If UNIX is set up to use it's default security plug-in (which I think is what we use) the user id provided is converted to upper case and must match a db2 authid. DB2 then works with the security facility to authenticate users. If the security system says the login id is successful - then db2 allows use of local commands to access local data and it allows use of remote connections defined in the database - when the server trusts the client authorization.

AUTHORIZATION is performed by DB2. When a authenticated user tries to access data DB2 verifies that the user (and any groups the user is in) has permission on the DB2 object(s).

Does anyone know if authentication can be done using a non-interactive ID?

I also have the same question about accessing remote oracle. My oracle dba said that the ID MUST be interactive

Thanks in advance for your help.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Oct 08, 2009 8:36 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

For security purposes it is OK to disable remote login to the box with service ids. However the people responsible for the applications using those service Ids should still be able to login locally to that service id, even if it is as coarse as using sudo su - serviceid.... And yes this is supposed to leave an audit trace with your userid and that you switched to the serviceid....

Completely restricting the serviceId is not a good idea as you may need to interact with the running application using this service id. (In other words this stuff is not a daemon that you don't need to touch anymore once started...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqmatt
PostPosted: Fri Oct 09, 2009 4:35 am    Post subject: Reply with quote

Grand Master

Joined: 04 Aug 2004
Posts: 1213
Location: Hursley, UK

You might be interested to know that V7 no longer has serviceids on non-Windows platforms, although mqsisetdbparms is still used to configure data sources (and any defaults). Authentication of these userids and passwords when accessing these data sources will continue to be done outside of broker.

On Windows platforms the serviceid remains, although you can now use the Windows LocalSystem account, which has no login or password. This is what we intend the DCW to use, so it will no longer prompt you for a password.

(And apologies for another v7 pitch )
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Can broker use non-interactive IDs to connect to databases
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.