* server_dict.c (init_dict): Change syslog() to krb5_klog_syslog()
authorEzra Peisach <epeisach@mit.edu>
Tue, 10 Oct 2000 07:11:45 +0000 (07:11 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 10 Oct 2000 07:11:45 +0000 (07:11 +0000)
        so that errors go to the intended place as indicated by krb5.conf.

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

src/lib/kadm5/srv/ChangeLog
src/lib/kadm5/srv/server_dict.c

index 21fd2d333e115ca24c578ed0d1bcba25f983afa9..614651554f97490f76f0885137b279fd02996e33 100644 (file)
@@ -1,3 +1,8 @@
+Tue Oct 10 03:09:27 2000  Ezra Peisach  <epeisach@mit.edu>
+
+       * server_dict.c (init_dict): Change syslog() to krb5_klog_syslog()
+       so that errors go to the intended place as indicated by krb5.conf.
+
 2000-06-30  Tom Yu  <tlyu@mit.edu>
 
        * adb_openclose.c (osa_adb_create_db): Default to btree.
index c1f2f62c37f58f0d9322e82c35789fdd079347e3..9bee48eb9eb215bea2b00c79420c6b4596b0b9ef 100644 (file)
@@ -87,14 +87,15 @@ int init_dict(kadm5_config_params *params)
     if(word_list != NULL && word_block != NULL)
        return KADM5_OK;
     if (! (params->mask & KADM5_CONFIG_DICT_FILE)) {
-        syslog(LOG_INFO, "No dictionary file specified, continuing "
+        krb5_klog_syslog(LOG_INFO, "No dictionary file specified, continuing "
                "without one.");
         return KADM5_OK;
     }
     if ((fd = open(params->dict_file, O_RDONLY)) == -1) {
         if (errno == ENOENT) {
-             syslog(LOG_ERR, "WARNING!  Cannot find dictionary file %s, "
-                    "continuing without one.", params->dict_file);
+             krb5_klog_syslog(LOG_ERR, 
+                              "WARNING!  Cannot find dictionary file %s, "
+                              "continuing without one.", params->dict_file);
              return KADM5_OK;
         } else
              return errno;