summaryrefslogtreecommitdiff
path: root/package/krb5/patches/patch-src_include_osconf_hin
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-29 20:31:19 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-29 20:31:19 +0100
commit88c5a0f975361424ada37f44a7f221d9667d874d (patch)
tree089ba96a35b8ca7fbdc5d006e21bad35d82087b1 /package/krb5/patches/patch-src_include_osconf_hin
parent2cd56f478cb25e06fe708dab8deb5d9a9f26038b (diff)
update config defaults
Diffstat (limited to 'package/krb5/patches/patch-src_include_osconf_hin')
-rw-r--r--package/krb5/patches/patch-src_include_osconf_hin21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/krb5/patches/patch-src_include_osconf_hin b/package/krb5/patches/patch-src_include_osconf_hin
new file mode 100644
index 000000000..4f672219e
--- /dev/null
+++ b/package/krb5/patches/patch-src_include_osconf_hin
@@ -0,0 +1,21 @@
+--- krb5-1.9.orig/src/include/osconf.hin 2010-01-05 03:47:58.000000000 +0100
++++ krb5-1.9/src/include/osconf.hin 2011-01-29 20:25:42.000000000 +0100
+@@ -61,14 +61,14 @@
+ #define DEFAULT_LNAME_FILENAME "@PREFIX/lib/krb5.aname"
+ #endif /* _WINDOWS */
+
+-#define DEFAULT_KDB_FILE "@LOCALSTATEDIR/krb5kdc/principal"
+-#define DEFAULT_KEYFILE_STUB "@LOCALSTATEDIR/krb5kdc/.k5."
+-#define KRB5_DEFAULT_ADMIN_ACL "@LOCALSTATEDIR/krb5kdc/krb5_adm.acl"
++#define DEFAULT_KDB_FILE "@SYSCONFDIR/krb5kdc/principal"
++#define DEFAULT_KEYFILE_STUB "@SYSCONFDIR/krb5kdc/.k5."
++#define KRB5_DEFAULT_ADMIN_ACL "@SYSCONFDIR/krb5kdc/krb5_adm.acl"
+ /* Used by old admin server */
+ #define DEFAULT_ADMIN_ACL "@LOCALSTATEDIR/krb5kdc/kadm_old.acl"
+
+ /* Location of KDC profile */
+-#define DEFAULT_KDC_PROFILE "@LOCALSTATEDIR/krb5kdc/kdc.conf"
++#define DEFAULT_KDC_PROFILE "@SYSCONFDIR/krb5kdc/kdc.conf"
+ #define KDC_PROFILE_ENV "KRB5_KDC_PROFILE"
+
+ #if TARGET_OS_MAC