From 479868f0a5d45fe84f3897012fe599ed47dd1052 Mon Sep 17 00:00:00 2001 From: Karl Ramm Date: Sun, 21 Dec 2008 08:33:17 +0000 Subject: Temporary kludge to make this not fall over without krb4. needs revisiting. --- server/acl_files.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'server/acl_files.c') 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 #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 '@' -- cgit v1.2.3