/usr/include/afs/auth.h is in libopenafs-dev 1.6.9-2+deb8u7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | /*
* auth.h:
* This file is automatically generated; please do not edit it.
*/
/* Including ./auth.p.h at beginning of auth.h file. */
/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
*
* This software has been released under the terms of the IBM Public
* License. For details, see the LICENSE file in the top-level source
* directory or online at http://www.openafs.org/dl/license10.html
*/
#ifndef __AUTH_AFS_INCL_
#define __AUTH_AFS_INCL_ 1
#include <rx/rxkad.h> /* to get ticket parameters/contents */
/* super-user pincipal used by servers when talking to other servers */
#define AUTH_SUPERUSER "afs"
struct ktc_token {
afs_int32 startTime;
afs_int32 endTime;
struct ktc_encryptionKey sessionKey;
short kvno; /* XXX UNALIGNED */
int ticketLen;
char ticket[MAXKTCTICKETLEN];
};
int ktc_SetToken(struct ktc_principal *, struct ktc_token *,
struct ktc_principal *, afs_int32);
int ktc_GetToken(struct ktc_principal *, struct ktc_token *,
int, struct ktc_principal *);
int ktc_ListTokens(int, int *, struct ktc_principal *);
int ktc_ForgetToken(struct ktc_principal *);
int ktc_ForgetAllTokens(void);
afs_uint32 ktc_curpag(void);
#ifdef AFS_KERBEROS_ENV
int ktc_newpag(void);
#endif
#ifdef AFS_NT40_ENV
/* Flags for the flag word sent along with a token */
#define PIOCTL_LOGON 0x1 /* invoked from integrated logon */
#endif /* AFS_NT40_ENV */
/* Flags for ktc_SetToken() */
#define AFS_SETTOK_SETPAG 0x1
#define AFS_SETTOK_LOGON 0x2 /* invoked from integrated logon */
#endif /* __AUTH_AFS_INCL_ */
/* End of prolog file ./auth.p.h. */
#define KTC_ERROR (11862784L)
#define KTC_TOOBIG (11862785L)
#define KTC_INVAL (11862786L)
#define KTC_NOENT (11862787L)
#define KTC_PIOCTLFAIL (11862788L)
#define KTC_NOPIOCTL (11862789L)
#define KTC_NOCELL (11862790L)
#define KTC_NOCM (11862791L)
#define KTC_RPC (11862792L)
#define KTC_NOCMRPC (11862793L)
extern void initialize_KTC_error_table(void);
#define ERROR_TABLE_BASE_KTC (11862784L)
/* for compatibility with older versions... */
#define init_KTC_err_tbl initialize_KTC_error_table
#define KTC_err_base ERROR_TABLE_BASE_KTC
/* for compatibility with other users... */
#define ERROR_TABLE_BASE_ktc (11862784L)
#define init_ktc_err_tbl initialize_KTC_error_table
#define initialize_ktc_error_table initialize_KTC_error_table
#define ktc_err_base ERROR_TABLE_BASE_ktc
|