I spent yesterday afternoon trying to get around this same issue, unsuccesfully, even though I setmqaut myself and my group with every conceivable authority.
I beat the problem by removing the + MQOO_ALTERNATE_USER_AUTHORITY from the MQOPEN and adding MQPMO_SET_IDENTITY_CONTEXT to the MQPUT options. The message was then put under the identity of md.UserIdentifier and it worked just fine. HTH Bill Beinert Systems Programming Con Edison (212) 460-4853 When they took the fourth amendment, I was quiet because I didn't deal drugs! When they took the sixth amendment, I was quiet because, I was innocent. When they took the second amendment, I was quiet because I didn't own a gun! Now they've taken the first amendment, and I can say (or do) nothing about it. The Second Amendment is in place in case they ignore the others. MODWN DAbE -----Original Message----- From: Middleware Group Mailbox [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 1:33 PM To: [EMAIL PROTECTED] Subject: GETTING 2035 ON MQOPEN IN NT Hi, I have a C/MQ program secsput.c on NT that tries to open a remote queue (REM.SECURITY.TEST.Q) with these options: O_options = MQOO_OUTPUT /* open queue for output */ + MQOO_FAIL_IF_QUIESCING /* but not if MQM stopping */ + MQOO_SET_ALL_CONTEXT /* set all context */ + MQOO_ALTERNATE_USER_AUTHORITY; /* alternate user */ But when I run the program on a DOS windows: >secsput REM.SECURITY.TEST.Q I got the follow error MQOPEN eneded with error 2035. The mq log says this: 01/14/2003 13:12:34 AMQ8075: Authorization failed because the SID for entity '' cannot be obtained. EXPLANATION: The Object Authority Manager was unable to obtain a SID for the specified entity. ACTION: Ensure that the entity is valid, and that all necessary domain controllers are available. I have no problem using >amqsput REM.SECURITY.TEST.Q Any idea why? Thanks, Mohamed. =================== This email/fax message is for the sole use of the intended recipients(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of this email/fax is prohibited. If you are not the intended recipient, please contact the sender by email/fax and destroy all paper and electronic copies of the original message. Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive