Sorry for the suggestion, After I entered it I realized the answer. At the time I was wondering if the JAVA app ran under other rules concerning the MCA USERID. But we wer doing this in Boston and there was no ill effect.
bobbee
From: "Potkay, Peter M (PLC, IT)" <[EMAIL PROTECTED]> Reply-To: MQSeries List <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: MQEnvironment.userID Date: Wed, 29 Jan 2003 13:25:43 -0500 (all this assumes no security exits) If the MCAUserID field is set to something bogus, then no matter what I set in my Java Client app for the UserId fails. No matter what ID I run any Client apps for that matter will fail. If the MCAUserID field is set to a valid user in the mqm group, then no matter what I set in my Java Client app for UserID works. No matter what ID I run any Client apps for that matter will work. If the MCAUserID field is set to blank: A valid ID set in the Java App UserID field works. A bogus ID set in the Java App UserID field fails. A blank ID set in the Java App UserID field works because in this case, the client proxy will run as MUSR_MQADMIN, which does have authority. A C application running on my PC and thus under my ID fails, cause it flows my ID, contrary to what the Java client app does. (I need confirmation on the last 2 sentences to insure my understanding is correct) Peter Potkay -----Original Message----- From: Robert Broderick [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 10:32 AM To: [EMAIL PROTECTED] Subject: Re: MQEnvironment.userID What happens if you set the SVRCONN channel MCAUserID to something "bogus" and then try the blank and UserID test. Does it succeed when you place the userid in the JAVA Client and does it NOW fail when you set it to blank?????????? bb >From: "Potkay, Peter M (PLC, IT)" <[EMAIL PROTECTED]> >Reply-To: MQSeries List <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: MQEnvironment.userID >Date: Wed, 29 Jan 2003 10:15:53 -0500 > >I have C application that attempts to Client connect from my pc to QM1 on a >remote server. (I set the MQSERVER variable). The app fails with a 2035 >error as expected since the MCAUserIdentifier field on the SVRCONN channel >is blank, and my pc's ID is not in the mqm group. If I set the >MCAUserIdentifier field on the channel to a user in the mqm group, my C app >connects in as expected. > > >I have a Java Applet that connects in Client mode from my pc to QM1 on a >remote server via a ServerConn channel that has a blank >MCAUserIdentifierField. If I set the MQEnvironment.userID property in the >Applet to some garbage value (XXX), it fails with a 2035. That makes sense. >But if I set the MQEnvironment.userID to blank, it works! If I don't set >the >field at all, it also works! > >Why does this JAVA applet make a successful connection via the SVRCONN >channel if the MCAUserIdentifier is blank, and I don't set a valid value >for >the UserID in the app? > > >Peter Potkay > > > >This communication, including attachments, is for the exclusive use of >addressee and may contain proprietary, confidential or privileged >information. If you are not the intended recipient, any use, copying, >disclosure, dissemination or distribution is strictly prohibited. If >you are not the intended recipient, please notify the sender >immediately by return email and delete this communication and destroy all >copies. > >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 _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail 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 This communication, including attachments, is for the exclusive use of addressee and may contain proprietary, confidential or privileged information. If you are not the intended recipient, any use, copying, disclosure, dissemination or distribution is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by return email and delete this communication and destroy all copies. 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
_________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail 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