From f03a38d4c9db3717f63cc7504aca5a2261354802 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Wed, 6 Dec 1995 02:04:10 +0000 Subject: [PATCH] * configure.in: Use krb5util library * login.c (main): Change two-argument call to syslog to three arguments to handle screw cases in hostnames. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7178 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/bsd/ChangeLog | 7 +++++++ src/appl/bsd/configure.in | 1 + src/appl/bsd/login.c | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index 9f3989343..c37f79fe8 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,3 +1,10 @@ +Tue Dec 5 20:44:39 1995 Ezra Peisach + + * configure.in: Use krb5util library. + + * login.c (main): Change two-argument call to syslog to three + arguments to handle screw cases in hostnames. + Fri Dec 1 17:25:02 1995 Theodore Y. Ts'o * login.c (main, dofork): Applied patch from Scott Schwartz diff --git a/src/appl/bsd/configure.in b/src/appl/bsd/configure.in index 143faec97..b6114736e 100644 --- a/src/appl/bsd/configure.in +++ b/src/appl/bsd/configure.in @@ -159,6 +159,7 @@ dnl ADD_DEF(-DKERBEROS) AC_CONST USE_KRB4_LIBRARY +USE_KRB5UTIL_LIBRARY KRB5_LIBRARIES V5_USE_SHARED_LIB V5_AC_OUTPUT_MAKEFILE diff --git a/src/appl/bsd/login.c b/src/appl/bsd/login.c index 536d2bd30..5ea2f7fea 100644 --- a/src/appl/bsd/login.c +++ b/src/appl/bsd/login.c @@ -957,7 +957,7 @@ bad_login: kdata->pname, kdata->pinst, kdata->prealm); #endif - syslog(LOG_NOTICE, buf); + syslog(LOG_NOTICE, "%s", buf); } else { #endif /* KRB4 */ #ifdef UT_HOSTSIZE -- 2.26.2