24 lines
735 B
Text
24 lines
735 B
Text
$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;
|