T.R | Title | User | Personal Name | Date | Lines |
---|
3675.1 | Not quite sure what to say | CHRLIE::HUSTON | | Fri Dec 17 1993 18:53 | 12 |
|
1,2,4 are all 100% correct, assuming that in 1,2 oafc$default does
not have access to any drawers.
Can't explain 3. I would think it would give the same error as 2, or
give you the information. The entire mess aroudn alias enabled etc
is slightly grey with respect to the DSO (unless it has been changed
recently). Turn on FCS tracing and see if that gives any more
inforamation.
--Bob
|
3675.2 | FCS trace | UTRTSC::SMEETS | Look at the ALL-IN-1 side of life | Mon Dec 20 1993 09:25 | 13 |
| Hello Bob,
> 1,2,4 are all 100% correct, assuming that in 1,2 oafc$default does
> not have access to any drawers.
Why would situation 2 be 100% correct ? I would expect the same result as in
situation 1. !
Customer turned on FCS tracing regarding situation 2. result AccessCheckFail on
OA$DATA_SHARE:PARTITION.DAT. The problem seems to be that in situation 2
OAFC$DEFAULT is trying to read the drawer information.
Martin
|
3675.3 | cluster alias include '::'? | CHRLIE::HUSTON | | Mon Dec 20 1993 14:53 | 7 |
| It seems that for some reason, your system is not respecting proxies
into the cluster alias, can you do a $sho log sys$cluster_node and
see what it says? By chance, does it not include the '::' on the
end of the node name?
--Bob
|
3675.4 | Inconsistency | UTRTSC::SMEETS | Look at the ALL-IN-1 side of life | Wed Dec 22 1993 16:33 | 67 |
| Hi Bob,
SYS$CLUSTER_NODE = X::
It's kind of strange ... I can reproduce the problem now !!!
We've a cluster (alias UTRTSC) which consists of two nodes UTRACK and UTRYIT,
and we've a standalone system called SSOIOS. at both systems I have an account
SMEETS
Here's my scenario.
A1. On node SSOIOS I define proxy UTRACK::SMEETS SMEETS (default).
A2. MC NCP SET KNOWN PROXIES ALL
A3. On node UTRACK I do IAD of system=SSOIOS, user=SMEETS
Result I see two drawers, which is OK
On node SSOIOS I see the following clients connected.
(Selections: 0 ) (Server: SSOIOS::"73=" ) (New messages: 0 )
No. Client Mgt Loc Rem Tra Originating client
> 1 SMEETS Y N N N UTRACK::SMEETS
Index of Server Clients
(Selections: 0 ) (Server: SSOIOS::"73=" ) (New messages: 0 )
No. Client Mgt Loc Rem Tra Originating client
> 1 SMEETS N Y N N UTRACK::SMEETS
2 SMEETS Y N N N UTRACK::SMEETS
B1. On node SSOIOS I define proxy UTRTSC::SMEETS SMEETS (default).
B2. MC NCP SET KNOWN PROXIES ALL
B3. On node UTRACK I do IAD of system=SSOIOS, user=SMEETS
Result I see two drawers, which is OK
On node SSOIOS I see the following clients connected.
(Selections: 0 ) (Server: SSOIOS::"73=" ) (New messages: 0 )
No. Client Mgt Loc Rem Tra Originating client
> 1 SMEETS Y N N N UTRACK::SMEETS
B4. Now I read the drawer information and get "insufficient privileges".
On node SSOIOS I see the following clients connect.
Index of Server Clients
(Selections: 0 ) (Server: SSOIOS::"73=" ) (New messages: 0 )
No. Client Mgt Loc Rem Tra Originating client
> 1 OAFC$DEFAULT N Y N N UTRACK::SMEETS
2 SMEETS Y N N N UTRACK::SMEETS
If I grant OAFC$DEFAULT read access to my drawers than the problem is gone.
So, it looks like there is somekind of inconsistency. I've would expect with
proxy UTRTSC::SMEETS no drawers at all to be seen.
I understand when proxy check fails, OAFC$DEFAULT will try its luck.
UTRACK::SMEETS not equals UTRTSC::SMEETS so OAFC$DEFAULT will check for access.
I seem to miss a point./...
Martin
|
3675.5 | Seems to be a proxy recognition problem | CHRLIE::HUSTON | | Wed Dec 22 1993 18:27 | 99 |
|
re .4
>SYS$CLUSTER_NODE = X::
That is what it should be (assuming X is the node name)
>A1. On node SSOIOS I define proxy UTRACK::SMEETS SMEETS (default).
>A2. MC NCP SET KNOWN PROXIES ALL
Note that this is meaningless to the server (step A2). The server caches
security information. (more later)
>A3. On node UTRACK I do IAD of system=SSOIOS, user=SMEETS
> Result I see two drawers, which is OK
> On node SSOIOS I see the following clients connected.
> (Selections: 0 ) (Server: SSOIOS::"73=" ) (New messages: 0 )
>
> No. Client Mgt Loc Rem Tra Originating client
>
> > 1 SMEETS Y N N N UTRACK::SMEETS
>
>
> Index of Server Clients
> (Selections: 0 ) (Server: SSOIOS::"73=" ) (New messages: 0 )
>
> No. Client Mgt Loc Rem Tra Originating client
>
> > 1 SMEETS N Y N N UTRACK::SMEETS
> 2 SMEETS Y N N N UTRACK::SMEETS
Why the two outputs? I assume it is a before/after scenario? If so it
makes perfect sense. The IAD establishes a system managmenet connection
which is #2 above.
>B1. On node SSOIOS I define proxy UTRTSC::SMEETS SMEETS (default).
>B2. MC NCP SET KNOWN PROXIES ALL
>B3. On node UTRACK I do IAD of system=SSOIOS, user=SMEETS
> Result I see two drawers, which is OK
> On node SSOIOS I see the following clients connected.
>
> (Selections: 0 ) (Server: SSOIOS::"73=" ) (New messages: 0 )
>
> No. Client Mgt Loc Rem Tra Originating client
>
> > 1 SMEETS Y N N N UTRACK::SMEETS
>
>B4. Now I read the drawer information and get "insufficient privileges".
> On node SSOIOS I see the following clients connect.
>
> Index of Server Clients
> (Selections: 0 ) (Server: SSOIOS::"73=" ) (New messages: 0 )
>
> No. Client Mgt Loc Rem Tra Originating client
>
> > 1 OAFC$DEFAULT N Y N N UTRACK::SMEETS
> 2 SMEETS Y N N N UTRACK::SMEETS
>
To me, this looks like a READ of the drawer information does not
do system management call, it brokered from UTRACK to SSOIOS, and
it could not find a proxy, so used OAFC$DEFAULT. Why it couldn't find
a proxy, I haven't a clue?
>If I grant OAFC$DEFAULT read access to my drawers than the problem is gone.
This reinforces the lack of proxy idea.
>So, it looks like there is somekind of inconsistency. I've would expect with
>proxy UTRTSC::SMEETS no drawers at all to be seen.
>
The FCS will have cached the first system management session that went
to SSOIOS, when you made the second IAD request, the fcs on teh cluster
would scan its list of established system management connects, it would
have found one to SSOIOS and used it, hence no authentication would
have been done. The system management connections time out eventually,
until that point, once established, they never do connect security
again.
The only scary part in all this is the use of OAFC$DEFAULT. You would
have to turn FCS trace on again and show me what FCS calls are being
made, it looks like the R on the drawer is making a call to a
non-system managment routine to the local FCS, then brokering to the
standalone system, the result of the broker connect security is that
there is no proxy (I believe you said there would be one from teh
ALIAS), so it uses OAFC$DEFAULT.
Can you get the FCS trace log of this?
--Bob
I understand when proxy check fails, OAFC$DEFAULT will try its luck.
UTRACK::SMEETS not equals UTRTSC::SMEETS so OAFC$DEFAULT will check for access.
I seem to miss a point./...
Martin
|
3675.6 | comments | UTRTSC::SMEETS | Look at the ALL-IN-1 side of life | Thu Dec 23 1993 09:42 | 60 |
| Hello Bob,
>A3. On node UTRACK I do IAD of system=SSOIOS, user=SMEETS
> Result I see two drawers, which is OK
> On node SSOIOS I see the following clients connected.
> (Selections: 0 ) (Server: SSOIOS::"73=" ) (New messages: 0 )
>
> No. Client Mgt Loc Rem Tra Originating client
>
> > 1 SMEETS Y N N N UTRACK::SMEETS
>
>
> Index of Server Clients
> (Selections: 0 ) (Server: SSOIOS::"73=" ) (New messages: 0 )
>
> No. Client Mgt Loc Rem Tra Originating client
>
> > 1 SMEETS N Y N N UTRACK::SMEETS
> 2 SMEETS Y N N N UTRACK::SMEETS
>
> Why the two outputs? I assume it is a before/after scenario? If so it
> makes perfect sense. The IAD establishes a system managmenet connection
> which is #2 above.
The second is after I did read the drawer information.
> No. Client Mgt Loc Rem Tra Originating client
>
> > 1 OAFC$DEFAULT N Y N N UTRACK::SMEETS
> 2 SMEETS Y N N N UTRACK::SMEETS
>
>
> To me, this looks like a READ of the drawer information does not
> do system management call, it brokered from UTRACK to SSOIOS, and
> it could not find a proxy, so used OAFC$DEFAULT. Why it couldn't find
> a proxy, I haven't a clue?
Why doesn't FCS use the already established management link. It's a bit
confusing for the end-user. If one requests an index of all drawers which are
available to him/her, I would expect that he/she also could read the drawer
information.
> The FCS will have cached the first system management session that went
> to SSOIOS, when you made the second IAD request, the fcs on teh cluster
> would scan its list of established system management connects, it would
> have found one to SSOIOS and used it, hence no authentication would
> have been done. The system management connections time out eventually,
> until that point, once established, they never do connect security
> again.
That's not correct. After the first IAD & R I disconnected both clients,
changed the proxy and finally did the second test.
> Can you get the FCS trace log of this?
Ok, hold on, have to create them first.
Regards and Merry Xmas,
Martin
|
3675.7 | If they need FC attrs, can't use SM rtns | CHRLIE::HUSTON | | Thu Dec 23 1993 14:04 | 32 |
|
re .6
>Why doesn't FCS use the already established management link. It's a bit
>confusing for the end-user. If one requests an index of all drawers which are
>available to him/her, I would expect that he/she also could read the drawer
>information.
Beats me, I didn't write the IOS level, just the FCS level. It uses a
new link because they are not using a FCS system management call, if
they did (routines are OafcShowFileCabinet and OafcShowPartition to get
drawer info), then it would use the same link. THey used an "normal"
API call, hence it goes through authentication/authorization again and
creates another link. My GUESS is that during the first call to get
the IAD info (from OafcShowPartition), they got the UID of the drawer
then called OafcListW to get the rest. Now that I think about it, there
is a major stumbling block to keep them from using OafcShowFileCabinet.
If they need info that is not available from OafcShowPartiton, then
they could not use ShowFileCabinet. All FCS routiens are available
to ONLY system managers, ie those who hold the OAFC$SYSMAN rights ID,
the exception is OafcShowPartition, this had special hooks put in for
doing an IAD.
>That's not correct. After the first IAD & R I disconnected both clients,
>changed the proxy and finally did the second test.
Ok, I didn't realized you disconnected. THe disconnect will kill all
system management sessions that you had setup. So on the second
try you will indeed get new connections.
--Bob
|
3675.8 | server trace | UTRTSC::SMEETS | Look at the ALL-IN-1 side of life | Thu Dec 30 1993 13:04 | 13 |
| Hi Bob,
As requested I've enabled server tracing.
The text trace files can be found in UTRTSC::USER3:[SMEETS.PUBLIC]
UTRACK_PROXY.DAT, proxy enabled for UTRACK::SMEETS
UTRTSC_PROXY.DAT, proxy enabled for UTRTSC::SMEETS
Have fun and happy new year,
Martin
|