2 * @(#)auth_unix.h 2.1 97/10/23
5 /* @(#)auth_unix.h 2.2 88/07/29 4.0 RPCSRC; from 1.8 88/02/08 SMI */
7 * Copyright (c) 1992-1997,2001 by Standard Performance Evaluation Corporation
9 * Standard Performance Evaluation Corporation (SPEC)
10 * 6585 Merchant Place, Suite 100
13 * This product contains benchmarks acquired from several sources who
14 * understand and agree with SPEC's goal of creating fair and objective
15 * benchmarks to measure computer performance.
17 * This copyright notice is placed here only to protect SPEC in the
18 * event the source is misused in any manner that is contrary to the
19 * spirit, the goals and the intent of SPEC.
21 * The source code is provided to the user or company under the license
22 * agreement for the SPEC Benchmark Suite for this product.
25 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
26 * unrestricted use provided that this legend is included on all tape
27 * media and as a part of the software program in whole or part. Users
28 * may copy or modify Sun RPC without charge, but are not authorized
29 * to license or distribute it to anyone else except as part of a product or
30 * program developed by the user.
32 * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
33 * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
34 * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
36 * Sun RPC is provided with no support and without any obligation on the
37 * part of Sun Microsystems, Inc. to assist in its use, correction,
38 * modification or enhancement.
40 * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
41 * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
42 * OR ANY PART THEREOF.
44 * In no event will Sun Microsystems, Inc. be liable for any lost revenue
45 * or profits or other special, indirect and consequential damages, even if
46 * Sun has been advised of the possibility of such damages.
48 * Sun Microsystems, Inc.
50 * Mountain View, California 94043
52 /* @(#)auth_unix.h 1.5 86/07/16 SMI */
55 * auth_unix.h, Protocol for UNIX style authentication parameters for RPC
57 * Copyright (C) 1984, Sun Microsystems, Inc.
62 * The system is very weak. The client uses no encryption for it
63 * credentials and only sends null verifiers. The server sends backs
64 * null verifiers or optionally a verifier that suggests a new short hand
65 * for the credentials.
68 /* The machine name is part of a credential; it may not exceed 255 bytes */
69 #define MAX_MACHINE_NAME 255
71 /* gids compose part of a credential; there may not be more than 16 of them */
75 * Unix style credentials.
77 struct authunix_parms {
86 extern bool_t xdr_authunix_parms();
89 * If a response verifier has flavor AUTH_SHORT,
90 * then the body of the response verifier encapsulates the following structure;
91 * again it is serialized in the obvious fashion.
93 struct short_hand_verf {
94 struct opaque_auth new_cred;