diff options
author | Karl Ramm <kcr@mit.edu> | 2008-12-21 08:33:17 +0000 |
---|---|---|
committer | Karl Ramm <kcr@mit.edu> | 2008-12-21 08:33:17 +0000 |
commit | 479868f0a5d45fe84f3897012fe599ed47dd1052 (patch) | |
tree | 8db5548e2d853cda91b2e1c7310ac8adc3938a46 /server/acl_files.c | |
parent | c8f7a707d86e133e3b446aff68e60c7e68da01ba (diff) |
Temporary kludge to make this not fall over without krb4. needs revisiting.
Diffstat (limited to 'server/acl_files.c')
-rw-r--r-- | server/acl_files.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/server/acl_files.c b/server/acl_files.c index df0885b..be15f75 100644 --- a/server/acl_files.c +++ b/server/acl_files.c @@ -19,7 +19,8 @@ #include <zephyr/mit-copyright.h> #include "zserver.h" - +/* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */ +/* this needs to be rethought for a world without krb4 */ #ifndef SABER #ifndef lint @@ -29,8 +30,15 @@ static const char rcsid_acl_files_c[] = "$Id$"; /*** Routines for manipulating access control list files ***/ +#ifndef ANAME_SZ +#define ANAME_SZ 40 +#define INST_SZ 40 +#endif /* XXX */ + /* "aname.inst@realm" */ +#ifndef MAX_PRINCIPAL_SIZE #define MAX_PRINCIPAL_SIZE (ANAME_SZ + INST_SZ + REALM_SZ + 3) +#endif #define INST_SEP '.' #define REALM_SEP '@' |