1*0Sstevel@tonic-gate /* 2*0Sstevel@tonic-gate * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 3*0Sstevel@tonic-gate * Use is subject to license terms. 4*0Sstevel@tonic-gate */ 5*0Sstevel@tonic-gate 6*0Sstevel@tonic-gate #ifndef _KPROP_H 7*0Sstevel@tonic-gate #define _KPROP_H 8*0Sstevel@tonic-gate 9*0Sstevel@tonic-gate #pragma ident "%Z%%M% %I% %E% SMI" 10*0Sstevel@tonic-gate 11*0Sstevel@tonic-gate #ifdef __cplusplus 12*0Sstevel@tonic-gate extern "C" { 13*0Sstevel@tonic-gate #endif 14*0Sstevel@tonic-gate 15*0Sstevel@tonic-gate /* 16*0Sstevel@tonic-gate * slave/kprop.h 17*0Sstevel@tonic-gate * 18*0Sstevel@tonic-gate * Copyright 1990,1991 by the Massachusetts Institute of Technology. 19*0Sstevel@tonic-gate * All Rights Reserved. 20*0Sstevel@tonic-gate * 21*0Sstevel@tonic-gate * Export of this software from the United States of America may 22*0Sstevel@tonic-gate * require a specific license from the United States Government. 23*0Sstevel@tonic-gate * It is the responsibility of any person or organization contemplating 24*0Sstevel@tonic-gate * export to obtain such a license before exporting. 25*0Sstevel@tonic-gate * 26*0Sstevel@tonic-gate * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and 27*0Sstevel@tonic-gate * distribute this software and its documentation for any purpose and 28*0Sstevel@tonic-gate * without fee is hereby granted, provided that the above copyright 29*0Sstevel@tonic-gate * notice appear in all copies and that both that copyright notice and 30*0Sstevel@tonic-gate * this permission notice appear in supporting documentation, and that 31*0Sstevel@tonic-gate * the name of M.I.T. not be used in advertising or publicity pertaining 32*0Sstevel@tonic-gate * to distribution of the software without specific, written prior 33*0Sstevel@tonic-gate * permission. Furthermore if you modify this software you must label 34*0Sstevel@tonic-gate * your software as modified software and not distribute it in such a 35*0Sstevel@tonic-gate * fashion that it might be confused with the original M.I.T. software. 36*0Sstevel@tonic-gate * M.I.T. makes no representations about the suitability of 37*0Sstevel@tonic-gate * this software for any purpose. It is provided "as is" without express 38*0Sstevel@tonic-gate * or implied warranty. 39*0Sstevel@tonic-gate * 40*0Sstevel@tonic-gate * 41*0Sstevel@tonic-gate */ 42*0Sstevel@tonic-gate 43*0Sstevel@tonic-gate #define KPROP_SERVICE_NAME "host" 44*0Sstevel@tonic-gate #define TGT_SERVICE_NAME "krbtgt" 45*0Sstevel@tonic-gate #define KPROP_SERVICE "krb5_prop" 46*0Sstevel@tonic-gate #define KPROP_CKSUMTYPE CKSUMTYPE_RSA_MD4_DES 47*0Sstevel@tonic-gate 48*0Sstevel@tonic-gate #define KPROP_PROT_VERSION "kprop5_01" 49*0Sstevel@tonic-gate 50*0Sstevel@tonic-gate #define KPROP_BUFSIZ 32768 51*0Sstevel@tonic-gate 52*0Sstevel@tonic-gate extern krb5_address *cvtkaddr(struct sockaddr_storage *ss, krb5_address *krbap); 53*0Sstevel@tonic-gate 54*0Sstevel@tonic-gate /* pathnames are in osconf.h, included via k5-int.h */ 55*0Sstevel@tonic-gate 56*0Sstevel@tonic-gate #ifdef __cplusplus 57*0Sstevel@tonic-gate } 58*0Sstevel@tonic-gate #endif 59*0Sstevel@tonic-gate 60*0Sstevel@tonic-gate #endif /* !_KPROP_H */ 61