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