* DCE and groups
@ 1994-05-19 13:41 Thomas Wahlgren
1994-05-19 17:29 ` Craig_Everhart
1994-05-22 5:07 ` Rich Salz
0 siblings, 2 replies; 3+ messages in thread
From: Thomas Wahlgren @ 1994-05-19 13:41 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1130 bytes --]
I have a few questions about DCE and groups:
1. Are the terms "real group", "effective group",
"primary group" and "supplementary groups" used in
DCE?
2. Is it possible to set effective group at login?
Is this possible after login?
3. Is it possible to select one group from all the groups
the user belongs to at login so that only the
permissions of that group are in effect?
4. Are there any differences between the groups in a
PAC? (Is it possible to tell which group in a PAC
is the effective group?)
5. How does DFS decide which group a newly created file
gets?
Pleas post answers to this newsgroup or to:
Johan Persson
Carmenta AB
jp@carmenta.se
Thanks
--
*******************************************************************************
Thomas Wahlgren Tel: 08-788 8794
Fax: 08-664 33 80
WM-data F�rsvarsdata AB Internet : thomas.wahlgren@fdata.se
107 87 STOCKHOLM
*******************************************************************************
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: DCE and groups
1994-05-19 13:41 DCE and groups Thomas Wahlgren
@ 1994-05-19 17:29 ` Craig_Everhart
1994-05-22 5:07 ` Rich Salz
1 sibling, 0 replies; 3+ messages in thread
From: Craig_Everhart @ 1994-05-19 17:29 UTC (permalink / raw)
I'll try to answer these from a DFS perspective, not strictly DCE.
Excerpts from netnews.comp.unix.osf.misc: 19-May-94 DCE and groups
Thomas Wahlgren@artemis. (1127)
> 1. Are the terms "real group", "effective group",
> "primary group" and "supplementary groups" used in
> DCE?
Sure--in your PAC there's a primary group and some supplementary groups.
There's no distinction between real/effective groups, though. That's
for your local OS to deal with.
> 2. Is it possible to set effective group at login?
> Is this possible after login?
I believe that your account comes with a primary group, so login sets
this. As to your effective group, I couldn't tell you.
> 3. Is it possible to select one group from all the groups
> the user belongs to at login so that only the
> permissions of that group are in effect?
Not that I know; you get all the groups that your principal belongs to.
> 4. Are there any differences between the groups in a
> PAC? (Is it possible to tell which group in a PAC
> is the effective group?)
As above: one is designated as your primary group.
> 5. How does DFS decide which group a newly created file
> gets?
Your primary group.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: DCE and groups
1994-05-19 13:41 DCE and groups Thomas Wahlgren
1994-05-19 17:29 ` Craig_Everhart
@ 1994-05-22 5:07 ` Rich Salz
1 sibling, 0 replies; 3+ messages in thread
From: Rich Salz @ 1994-05-22 5:07 UTC (permalink / raw)
In <Cq1y0K.n21@artemis.sto.fdata.se> tekthwa@artemis.sto.fdata.se (Thomas Wahlgren) writes:
I'm not sure how well I understand your question. DCE includes its own
security structure. This is known as your network identity. DCE also
stores your Unix login identity so that an integrated DCE/local-host login
program can be written. (With DCE 1.1, extended attributes can be stored
with the DCE security server so that essentially ANY localhost login
information can be used.)
I'll assume your quesitons below refer to DCE authentication information.
>1. Are the terms "real group", "effective group",
> "primary group" and "supplementary groups" used in
> DCE?
Real and effective do not make sense in the DCE security system.
From the DCE perspective a client's credentials contain the UUID of
the principal and the groups of which it is a member. One group
is called the primary group, but the only thing special about it
is where it appears in the typedef.
>2. Is it possible to set effective group at login?
> Is this possible after login?
You cannot change group memberships without logging in again.
>3. Is it possible to select one group from all the groups
> the user belongs to at login so that only the
> permissions of that group are in effect?
No. A server that implements security (via the rdaclif interface)
can, of course, do whatever it wants, but to do that kind of thing
violates the spec.
>4. Are there any differences between the groups in a
> PAC? (Is it possible to tell which group in a PAC
> is the effective group?)
The typedef looks like this:
typedef struct {
sec_id_pac_format_t pac_type;
boolean32 authenticated;
sec_id_t realm; /* Cell */
sec_id_t principal;
sec_id_t group;
unsigned16 num_groups;
unsigned16 num_foreign_groups;
[size_is(num_groups), ptr]
sec_id_t *groups;
[size_is(num_foreign_groups), ptr]
sec_id_foreign_t *foreign_groups;
} sec_id_pac_t, sec_id_pac_format_v1_t;
So can tell from pac.group vs pac.groups[0...num_groups-1]. BUT
except for creating objects that have group ownership (e.g.,
files) you're not supposed to do anything different.
>5. How does DFS decide which group a newly created file
> gets?
Craig answered this in another post: the primary group.
/r$
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1994-05-22 5:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-05-19 13:41 DCE and groups Thomas Wahlgren
1994-05-19 17:29 ` Craig_Everhart
1994-05-22 5:07 ` Rich Salz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox