svn rev #23797: branches/krb5-1-8/src/ include/ lib/kadm5/

tlyu@MIT.EDU tlyu at MIT.EDU
Wed Mar 10 15:33:05 EST 2010


http://src.mit.edu/fisheye/changelog/krb5/?cs=23797
Commit By: tlyu
Log Message:
Revert KRB5_CONF_ macro change intended for trunk.


Changed Files:
U   branches/krb5-1-8/src/include/k5-int.h
U   branches/krb5-1-8/src/lib/kadm5/logger.c
Modified: branches/krb5-1-8/src/include/k5-int.h
===================================================================
--- branches/krb5-1-8/src/include/k5-int.h	2010-03-10 19:30:58 UTC (rev 23796)
+++ branches/krb5-1-8/src/include/k5-int.h	2010-03-10 20:33:05 UTC (rev 23797)
@@ -194,8 +194,8 @@
 #define KRB5_CONF_DATABASE_NAME                  "database_name"
 #define KRB5_CONF_DB_MODULE_DIR                  "db_module_dir"
 #define KRB5_CONF_DB_MODULES                     "db_modules"
+#define KRB5_CONF_DOMAIN_REALM                   "domain_realm"
 #define KRB5_CONF_DEFAULT_REALM                  "default_realm"
-#define KRB5_CONF_DEFAULT                        "default"
 #define KRB5_CONF_DEFAULT_DOMAIN                 "default_domain"
 #define KRB5_CONF_DEFAULT_TKT_ENCTYPES           "default_tkt_enctypes"
 #define KRB5_CONF_DEFAULT_TGS_ENCTYPES           "default_tgs_enctypes"
@@ -206,7 +206,6 @@
 #define KRB5_CONF_DNS_LOOKUP_KDC              "dns_lookup_kdc"
 #define KRB5_CONF_DNS_LOOKUP_REALM            "dns_lookup_realm"
 #define KRB5_CONF_DNS_FALLBACK                "dns_fallback"
-#define KRB5_CONF_DOMAIN_REALM                "domain_realm"
 #define KRB5_CONF_EXTRA_ADDRESSES             "extra_addresses"
 #define KRB5_CONF_FORWARDABLE                 "forwardable"
 #define KRB5_CONF_HOST_BASED_SERVICES         "host_based_services"
@@ -228,21 +227,20 @@
 #define KRB5_CONF_KEY_STASH_FILE              "key_stash_file"
 #define KRB5_CONF_KPASSWD_PORT                "kpasswd_port"
 #define KRB5_CONF_KPASSWD_SERVER              "kpasswd_server"
+#define KRB5_CONF_LIBDEFAULTS                 "libdefaults"
 #define KRB5_CONF_LDAP_KDC_DN                 "ldap_kdc_dn"
 #define KRB5_CONF_LDAP_KADMIN_DN              "ldap_kadmind_dn"
 #define KRB5_CONF_LDAP_SERVICE_PASSWORD_FILE  "ldap_service_password_file"
 #define KRB5_CONF_LDAP_ROOT_CERTIFICATE_FILE  "ldap_root_certificate_file"
 #define KRB5_CONF_LDAP_SERVERS                "ldap_servers"
 #define KRB5_CONF_LDAP_CONNS_PER_SERVER       "ldap_conns_per_server"
-#define KRB5_CONF_LIBDEFAULTS                 "libdefaults"
-#define KRB5_CONF_LOGGING                     "logging"
+#define KRB5_CONF_NO_HOST_REFERRAL            "no_host_referral"
 #define KRB5_CONF_MASTER_KEY_NAME             "master_key_name"
 #define KRB5_CONF_MASTER_KEY_TYPE             "master_key_type"
 #define KRB5_CONF_MASTER_KDC                  "master_kdc"
 #define KRB5_CONF_MAX_LIFE                    "max_life"
 #define KRB5_CONF_MAX_RENEWABLE_LIFE          "max_renewable_life"
 #define KRB5_CONF_NOADDRESSES                 "noaddresses"
-#define KRB5_CONF_NO_HOST_REFERRAL            "no_host_referral"
 #define KRB5_CONF_PERMITTED_ENCTYPES          "permitted_enctypes"
 #define KRB5_CONF_PREAUTH_MODULE_DIR          "preauth_module_dir"
 #define KRB5_CONF_PREFERRED_PREAUTH_TYPES     "preferred_preauth_types"

Modified: branches/krb5-1-8/src/lib/kadm5/logger.c
===================================================================
--- branches/krb5-1-8/src/lib/kadm5/logger.c	2010-03-10 19:30:58 UTC (rev 23796)
+++ branches/krb5-1-8/src/lib/kadm5/logger.c	2010-03-10 20:33:05 UTC (rev 23797)
@@ -373,11 +373,11 @@
      * Look up [logging]-><ename> in the profile.  If that doesn't
      * succeed, then look for [logging]->default.
      */
-    logging_profent[0] = KRB5_CONF_LOGGING;
+    logging_profent[0] = "logging";
     logging_profent[1] = ename;
     logging_profent[2] = (char *) NULL;
-    logging_defent[0] = KRB5_CONF_LOGGING;
-    logging_defent[1] = KRB5_CONF_DEFAULT;
+    logging_defent[0] = "logging";
+    logging_defent[1] = "default";
     logging_defent[2] = (char *) NULL;
     logging_specs = (char **) NULL;
     ngood = 0;




More information about the cvs-krb5 mailing list