[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

3280.0. "Why PRMMBX for TSAM" by WELTM1::CRIDDLE (Graham Criddle, DS Tech Consultant, 853-4015) Wed Jul 01 1992 12:11

Hi..

The release notes for the TSAM access module (T1.0.7) state that a TSAM user 
needs the PRMMBX privilege.

Is this going to be the case in the shipping product, and if so what is the
reasoning behind it?

Rgds,
Graham
T.RTitleUserPersonal
Name
DateLines
3280.1Maybe Callable-TSM requires it?MOLAR::BRIENENDECmcc LAN and SNMP Stuff...Fri Jul 03 1992 17:021
    
3280.2PRMMBXTOOK::CASSIDYLinda, LKG2-2/BB10, DTN 226-7270Mon Jul 06 1992 13:286
TSAM needs to set up mailbox communication between MCC and a process that uses
callable TSM.  TSAM starts up this "server process" when you first enable TSAM 
and then every TSAM command sends a command to the process via the mailbox.  And
yes, I think this is the way it is going to ship.

 - Linda
3280.3TOOK::FONSECAI heard it through the Grapevine...Mon Jul 06 1992 14:318
Thanks Linda!

Yes, TSAM will be shipping this way.  The intention is that the mail box
be permanent, so even if the original process which ENABLEd or started up the
datached process went away, the detached process and the mail box would
still be around for other DECmcc users.

-Dave
3280.4Still confused... WELTM1::CRIDDLEGraham Criddle, DS Tech Consultant, 853-4015Mon Jul 06 1992 16:0323
Hi, all...

Thanks for the replies...

I still don't understand.

I firstly don't see why a permanent mailbox is needed - as I assume that the 
terminal server detached process needs to be present for TS access to take place.

If this is true then a temporary mailbox is sufficient, created by the detached
process.

Even if this is not the case, and a permanent mailbox is needed, why does a 
standard MCC user need this privilege as a non-priviliged user can assign a
channel to a permanent mailbox.

Rgds,
Graham

PS. The reason I am interested in this is that we are currently implementing an 
NMS system on one of our major customer sites and want to use the TSAM module 
when we upgrade to 1.2 SSB later this year.
They will not be keen on granting the PRMMBX privilege to anyone!!!
3280.5TOOK::FONSECAI heard it through the Grapevine...Mon Jul 06 1992 19:456
You're right.  The way you describe is the way I thought it worked.
It looks like the code attempts to create a permanent mbx *every* time.
I'll look in to changing the way we assign a channel to the mail box, but
I won't promise for this release, we are very close to SSB at this point.

-Dave
3280.6Permanent mailboxes are never needed!MARVIN::COBBGraham R. Cobb (DECNIS development), REO2-G/G9, 830-3917Fri Jul 17 1992 11:5615
Note that  on VMS "temporary" mailboxes stay around as long as *either* side
has  a channel assigned (more correctly as long as any process has a channel
assigned  to  it).  In practice, permanent mailboxes are never needed on VMS
(and  are usually not desired because you want the mailbox to go away if the
server goes away).

The most common (and incorrect!) reason for people using permanent mailboxes
is  that  the mailbox logical name gets stored in the system table and so is
visible to the other process.  That is using a sledgehammer to crack a nut!

The best  solution  depends  on exactly how your processes need to interact.
Unfortunately,  in  most cases some form of elevated privilege is needed but
you may be able to make the server do the privileged work.

Graham