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 IndexGeneral IBM MQ SupportRegarding mqccred security exit

Post new topicReply to topic
Regarding mqccred security exit View previous topic :: View next topic
Author Message
depuk
PostPosted: Sat Mar 28, 2020 11:42 pm Post subject: Regarding mqccred security exit Reply with quote

Apprentice

Joined: 13 Nov 2015
Posts: 25

Hi
I am trying to configure mqccred security exit to pass the user id and password for a MQ client. I configured MQCHLTAB and MQCHLLIB and MQCCRED environment variables.When i try to put msg using amqsputc then i am getting 2537.I didnt find any errors in the qmgrs logs .please suggest me.

[iib10@fedora17-64-base ~]$ /opt/MQ91/samp/bin/amqsputc TEST QM912
Sample AMQSPUT0 start
mqccred exit: Configuration file is at /home/iib10/CLNT/mqccred.ini. Accessible: Yes
File permissions permit others to read file
MQCONNX ended with reason code 2537
[iib10@fedora17-64-base ~]$ echo $MQCHLLIB
/home/iib10/CLNT
[iib10@fedora17-64-base ~]$ echo $MQCHLTAB
AMQCLCHL.TAB
[iib10@fedora17-64-base ~]$ echo $MQCCRED
/home/iib10/CLNT/mqccred.ini
[iib10@fedora17-64-base ~]$


dis chl(QM912.SVR1) chltype(clntconn)
2 : dis chl(QM912.SVR1) chltype(clntconn)
AMQ8414I: Display Channel details.
CHANNEL(QM912.SVR1) CHLTYPE(CLNTCONN)
AFFINITY(PREFERRED) ALTDATE(2020-03-1
ALTTIME(22.20.02) CERTLABL( )
CLNTWGHT(0) COMPHDR(NONE)
COMPMSG(NONE) CONNAME(xxx.xx.xx.xx(8480))
DEFRECON(NO) DESCR( )
HBINT(300) KAINT(AUTO)
LOCLADDR( ) MAXMSGL(4194304)
MODENAME( ) PASSWORD( )
QMNAME(QM912) RCVDATA( )
RCVEXIT( ) SCYDATA(DEBUG)
SCYEXIT(/var/mqm/exits/Installation3/mqccred(ChlExit))
SENDDATA( ) SENDEXIT( )
SHARECNV(10) SSLCIPH( )
SSLPEER( ) TPNAME( )
TRPTYPE(TCP) USERID( )
Back to top
View user's profile Send private message
markt
PostPosted: Sun Mar 29, 2020 12:54 am Post subject: Reply with quote

Chevalier

Joined: 14 May 2002
Posts: 434

The output is telling you what is wrong:

Quote:

File permissions permit others to read file


Run "chmod 600 mqccred.ini" so it is only accessible to the user
Back to top
View user's profile Send private message
depuk
PostPosted: Sun Mar 29, 2020 1:55 am Post subject: Reply with quote

Apprentice

Joined: 13 Nov 2015
Posts: 25

Hi markt,

Thanks ..Now i am able to

[iib10@fedora17-64-base CLNT]$ /opt/MQ9/samp/bin/amqsputc TEST QM912
Sample AMQSPUT0 start
mqccred exit: Configuration file is at /home/iib10/CLNT/mqccred.ini. Accessible: Yes
mqccred exit: Searching for queue manager 'QM912'
mqccred exit: Returning info for user 'iib10', forceOverride=0
mqccred exit: ReadConfigFile rc = 0
target queue is TEST
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexGeneral IBM MQ SupportRegarding mqccred security exit
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.