|
Packit |
fd8b60 |
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
|
|
Packit |
fd8b60 |
/* kprop/kprop.h */
|
|
Packit |
fd8b60 |
/*
|
|
Packit |
fd8b60 |
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
|
|
Packit |
fd8b60 |
* All Rights Reserved.
|
|
Packit |
fd8b60 |
*
|
|
Packit |
fd8b60 |
* Export of this software from the United States of America may
|
|
Packit |
fd8b60 |
* require a specific license from the United States Government.
|
|
Packit |
fd8b60 |
* It is the responsibility of any person or organization contemplating
|
|
Packit |
fd8b60 |
* export to obtain such a license before exporting.
|
|
Packit |
fd8b60 |
*
|
|
Packit |
fd8b60 |
* WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
|
|
Packit |
fd8b60 |
* distribute this software and its documentation for any purpose and
|
|
Packit |
fd8b60 |
* without fee is hereby granted, provided that the above copyright
|
|
Packit |
fd8b60 |
* notice appear in all copies and that both that copyright notice and
|
|
Packit |
fd8b60 |
* this permission notice appear in supporting documentation, and that
|
|
Packit |
fd8b60 |
* the name of M.I.T. not be used in advertising or publicity pertaining
|
|
Packit |
fd8b60 |
* to distribution of the software without specific, written prior
|
|
Packit |
fd8b60 |
* permission. Furthermore if you modify this software you must label
|
|
Packit |
fd8b60 |
* your software as modified software and not distribute it in such a
|
|
Packit |
fd8b60 |
* fashion that it might be confused with the original M.I.T. software.
|
|
Packit |
fd8b60 |
* M.I.T. makes no representations about the suitability of
|
|
Packit |
fd8b60 |
* this software for any purpose. It is provided "as is" without express
|
|
Packit |
fd8b60 |
* or implied warranty.
|
|
Packit |
fd8b60 |
*/
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
#define KPROP_SERVICE_NAME "host"
|
|
Packit |
fd8b60 |
#define TGT_SERVICE_NAME "krbtgt"
|
|
Packit |
fd8b60 |
#define KPROP_SERVICE "krb5_prop"
|
|
Packit |
fd8b60 |
#define KPROP_PORT 754
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
#define KPROP_PROT_VERSION "kprop5_01"
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
#define KPROP_BUFSIZ 32768
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
/* pathnames are in osconf.h, included via k5-int.h */
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
int sockaddr2krbaddr(krb5_context context, int family, struct sockaddr *sa,
|
|
Packit |
fd8b60 |
krb5_address **dest);
|
|
Packit |
fd8b60 |
|
|
Packit |
fd8b60 |
krb5_error_code
|
|
Packit |
fd8b60 |
sn2princ_realm(krb5_context context, const char *hostname, const char *sname,
|
|
Packit |
fd8b60 |
const char *realm, krb5_principal *princ_out);
|