From a14f8aecf92aee267bc3a9bdd1d131bbc51b49fd Mon Sep 17 00:00:00 2001 From: Barry Jaspan Date: Wed, 4 Dec 1996 20:29:55 +0000 Subject: * ovsec_kadmd.c (main): fix duplicated error strings [krb5-admin/234] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9602 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin/server/ChangeLog | 5 +++++ src/kadmin/server/ovsec_kadmd.c | 14 ++++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/src/kadmin/server/ChangeLog b/src/kadmin/server/ChangeLog index 6092176df6..a8b9acdbd5 100644 --- a/src/kadmin/server/ChangeLog +++ b/src/kadmin/server/ChangeLog @@ -1,3 +1,8 @@ +Wed Dec 4 15:29:30 1996 Barry Jaspan + + * ovsec_kadmd.c (main): fix duplicated error strings + [krb5-admin/234] + Wed Nov 13 14:29:34 1996 Tom Yu * ovsec_kadmd.c (main): Note that krb5_defkeyname is an internal diff --git a/src/kadmin/server/ovsec_kadmd.c b/src/kadmin/server/ovsec_kadmd.c index 21514aca1f..0a0ff80020 100644 --- a/src/kadmin/server/ovsec_kadmd.c +++ b/src/kadmin/server/ovsec_kadmd.c @@ -307,9 +307,10 @@ int main(int argc, char *argv[]) params.realm); if (names[0].name == NULL || names[1].name == NULL || names[2].name == NULL || names[3].name == NULL) { - krb5_klog_syslog(LOG_ERR, "Cannot initialize GSS-API authentication, " - "failing."); - fprintf(stderr, "%s: Cannot initialize GSS-API authentication.\n", + krb5_klog_syslog(LOG_ERR, + "Cannot build GSS-API authentication names, " + "failing."); + fprintf(stderr, "%s: Cannot build GSS-API authentication names.\n", whoami); kadm5_destroy(global_server_handle); krb5_klog_close(); @@ -327,9 +328,10 @@ int main(int argc, char *argv[]) if (_svcauth_gssapi_set_names(names, 4) == TRUE) oldnames++; if (!oldnames && _svcauth_gssapi_set_names(names, 2) == FALSE) { - krb5_klog_syslog(LOG_ERR, "Cannot initialize GSS-API authentication, " - "failing."); - fprintf(stderr, "%s: Cannot initialize GSS-API authentication.\n", + krb5_klog_syslog(LOG_ERR, + "Cannot set GSS-API authentication names, " + "failing."); + fprintf(stderr, "%s: Cannot set GSS-API authentication names.\n", whoami); kadm5_destroy(global_server_handle); krb5_klog_close(); -- cgit