summaryrefslogtreecommitdiff
path: root/chat/zephyr/patches/patch-ag
blob: e51390446c61ebd6cb61e1ab5396f1c9922834d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-ag,v 1.1.1.1 2003/09/16 19:41:50 seb Exp $

--- server/realm.c.orig	2001-02-27 05:51:07.000000000 +0100
+++ server/realm.c
@@ -498,7 +498,7 @@ realm_init()
     char list_file[128];
     char rlmprinc[ANAME_SZ+INST_SZ+REALM_SZ+3];
 
-    sprintf(list_file, "%s/zephyr/%s", SYSCONFDIR, REALM_LIST_FILE);
+    sprintf(list_file, "%s/%s", SYSCONFDIR, REALM_LIST_FILE);
     rlmnames = get_realm_lists(list_file);
     if (!rlmnames) {
 	zdbug((LOG_DEBUG, "No other realms"));
@@ -1096,6 +1096,10 @@ realm_dump_realms(fp)
 }
 
 #ifdef HAVE_KRB4
+#ifdef ERROR_TABLE_BASE_krb
+#define krb_err_base ERROR_TABLE_BASE_krb
+#endif
+
 static void
 realm_sendit_auth(notice, who, auth, realm, ack_to_sender)
     ZNotice_t *notice;