* ovsec_kadmd.c (main): fix duplicated error strings
authorBarry Jaspan <bjaspan@mit.edu>
Wed, 4 Dec 1996 20:29:55 +0000 (20:29 +0000)
committerBarry Jaspan <bjaspan@mit.edu>
Wed, 4 Dec 1996 20:29:55 +0000 (20:29 +0000)
  [krb5-admin/234]

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9602 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/server/ChangeLog
src/kadmin/server/ovsec_kadmd.c

index 6092176df6f75d5442be3d80622e5ed1094d9b81..a8b9acdbd59a09391a7ea3f39e744fd7dff28f7f 100644 (file)
@@ -1,3 +1,8 @@
+Wed Dec  4 15:29:30 1996  Barry Jaspan  <bjaspan@mit.edu>
+
+       * ovsec_kadmd.c (main): fix duplicated error strings
+       [krb5-admin/234]
+
 Wed Nov 13 14:29:34 1996  Tom Yu  <tlyu@mit.edu>
 
        * ovsec_kadmd.c (main): Note that krb5_defkeyname is an internal
index 21514aca1f5f7e44b56164df0480853a8d29bd70..0a0ff8002035352ba5f7afaece1da2cac5bb54c9 100644 (file)
@@ -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();