From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,1fd7e5501c666c11 X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-05-21 22:33:10 PST Path: bga.com!news.sprintlink.net!get.hooked.net!decwrl!decwrl!spool.mu.edu!bloom-beacon.mit.edu!paperboy.osf.org!rsalz From: rsalz@osf.org (Rich Salz) Newsgroups: comp.unix.osf.misc Subject: Re: DCE and groups Date: 22 May 1994 05:07:37 GMT Organization: Open Software Foundation Message-ID: <2rmpap$d4b@paperboy.osf.org> References: NNTP-Posting-Host: sulphur.osf.org In 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$