source: trunk/third/cns/src/kadmin/kadm_server.h @ 8789

Revision 8789, 1.5 KB checked in by ghudson, 28 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r8788, which included commits to RCS files with non-trunk default branches.
Line 
1/*
2 * $Source: /afs/dev.mit.edu/source/repository/third/cns/src/kadmin/kadm_server.h,v $
3 * $Author: ghudson $
4 * $Header: /afs/dev.mit.edu/source/repository/third/cns/src/kadmin/kadm_server.h,v 1.1.1.1 1996-09-06 00:47:17 ghudson Exp $
5 *
6 * Copyright 1988 by the Massachusetts Institute of Technology.
7 *
8 * For copying and distribution information, please see the file
9 * <mit-copyright.h>.
10 *
11 * Definitions for Kerberos administration server & client
12 */
13
14#ifndef KADM_SERVER_DEFS
15#define KADM_SERVER_DEFS
16
17#include <mit-copyright.h>
18/*
19 * kadm_server.h
20 * Header file for the fourth attempt at an admin server
21 * Doug Church, December 28, 1989, MIT Project Athena
22 *    ps. Yes that means this code belongs to athena etc...
23 *        as part of our ongoing attempt to copyright all greek names
24 */
25
26#include <sys/types.h>
27#include <krb.h>
28#include <des.h>
29
30typedef struct {
31  struct sockaddr_in admin_addr;
32  struct sockaddr_in recv_addr;
33  int recv_addr_len;
34  int admin_fd;                 /* our link to clients */
35  char sname[ANAME_SZ];
36  char sinst[INST_SZ];
37  char krbrlm[REALM_SZ];
38  C_Block master_key;
39  C_Block session_key;
40  Key_schedule master_key_schedule;
41  long master_key_version;
42} Kadm_Server;
43
44/* the default syslog file */
45#define KADM_SYSLOG  "/kerberos/admin_server.syslog"
46
47/* where to find the bad password table */
48#define PW_CHECK_FILE "/kerberos/bad_passwd"
49
50#define DEFAULT_ACL_DIR "/kerberos"
51#define ADD_ACL_FILE    "/admin_acl.add"
52#define GET_ACL_FILE    "/admin_acl.get"
53#define MOD_ACL_FILE    "/admin_acl.mod"
54
55#endif /* KADM_SERVER_DEFS */
Note: See TracBrowser for help on using the repository browser.