SunAuthUnix.mesa
Demers, September 19, 1987 4:06:23 pm PDT
DIRECTORY
Rope
USING [
ROPE],
SunRPCAuth
USING [Conversation]
;
SunAuthUnix:
CEDAR
DEFINITIONS
~ {
Client / Server Utilities
FixNameForUnix:
PROC [name: Rope.
ROPE]
RETURNS [fixedName: Rope.
ROPE];
Convert to lower case, remove Grapevine registry, truncate to <= 8 characters.
Server Utilities
Groups:
TYPE ~
REF GroupsObject;
GroupsObject:
TYPE ~
RECORD [
group:
SEQUENCE length:
CARDINAL
OF
CARD
];
ExtractConversationDetails:
PROC [c: SunRPCAuth.Conversation]
RETURNS [machineName: Rope.
ROPE, uid, gid:
CARD, groups: Groups];
Extract user id and groups from Unix-flavor conversation.
! SunRPCAuth.Error[$badCredentials]
}...