Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pymqi user/password
#1
Hello

while connecting to a Websphere MQ Queuemanager I get reason code 2035 ("not authorized").
It works in Java with IBM-MQ-Java-classes.

pymqi connection factory has username and password, too.
But it seems it will not work. Username is "usermq". Python runs under Linux with a different user "userpy".
Queuemanager runs under windows.

Can someone give me a working example?

Regards Thomas
Reply
#2
Hi!

I sounds like you ran into the same problem as I have done. It looks like no matter what username I use in the script it will only try to authenticate with the linux shell user I'm running the script as. Could it be that the script will be executed as the user who owns the pymqi module files?

Anyway... Did you resolve this? If you did, how did you do it?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  pymqi and group id (MQ) ThomasT 0 2,850 Dec-03-2018, 11:59 AM
Last Post: ThomasT
  Looking for IBM MQ client for MAC to go with PyMQi georgelza 1 2,996 May-08-2018, 03:04 PM
Last Post: georgelza

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020