From: rsalz@osf.org (Rich Salz)
Subject: Re: DCE and groups
Date: 22 May 1994 05:07:37 GMT [thread overview]
Message-ID: <2rmpap$d4b@paperboy.osf.org> (raw)
In-Reply-To: Cq1y0K.n21@artemis.sto.fdata.se
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$
prev parent reply other threads:[~1994-05-22 5:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox