1
0

patch-src_include_stock_osconf_h 1.5 KB

12345678910111213141516171819202122232425262728293031323334
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- krb5-1.6.3.orig/src/include/stock/osconf.h 2006-05-26 01:37:33.000000000 +0200
  3. +++ krb5-1.6.3/src/include/stock/osconf.h 2009-02-03 19:13:37.508177540 +0100
  4. @@ -60,14 +60,14 @@
  5. #define DEFAULT_LNAME_FILENAME "@PREFIX/lib/krb5.aname"
  6. #endif /* _WINDOWS */
  7. -#define DEFAULT_KDB_FILE "@LOCALSTATEDIR/krb5kdc/principal"
  8. -#define DEFAULT_KEYFILE_STUB "@LOCALSTATEDIR/krb5kdc/.k5."
  9. -#define KRB5_DEFAULT_ADMIN_ACL "@LOCALSTATEDIR/krb5kdc/krb5_adm.acl"
  10. +#define DEFAULT_KDB_FILE "@SYSCONFDIR/krb5kdc/principal"
  11. +#define DEFAULT_KEYFILE_STUB "@SYSCONFDIR/krb5kdc/.k5."
  12. +#define KRB5_DEFAULT_ADMIN_ACL "@SYSCONFDIR/krb5kdc/krb5_adm.acl"
  13. /* Used by old admin server */
  14. -#define DEFAULT_ADMIN_ACL "@LOCALSTATEDIR/krb5kdc/kadm_old.acl"
  15. +#define DEFAULT_ADMIN_ACL "@SYSCONFDIR/krb5kdc/kadm_old.acl"
  16. /* Location of KDC profile */
  17. -#define DEFAULT_KDC_PROFILE "@LOCALSTATEDIR/krb5kdc/kdc.conf"
  18. +#define DEFAULT_KDC_PROFILE "@SYSCONFDIR/krb5kdc/kdc.conf"
  19. #define KDC_PROFILE_ENV "KRB5_KDC_PROFILE"
  20. #if TARGET_OS_MAC
  21. @@ -96,8 +96,8 @@
  22. /*
  23. * Defaults for the KADM5 admin system.
  24. */
  25. -#define DEFAULT_KADM5_KEYTAB "@LOCALSTATEDIR/krb5kdc/kadm5.keytab"
  26. -#define DEFAULT_KADM5_ACL_FILE "@LOCALSTATEDIR/krb5kdc/kadm5.acl"
  27. +#define DEFAULT_KADM5_KEYTAB "@SYSCONFDIR/krb5kdc/kadm5.keytab"
  28. +#define DEFAULT_KADM5_ACL_FILE "@SYSCONFDIR/krb5kdc/kadm5.acl"
  29. #define DEFAULT_KADM5_PORT 749 /* assigned by IANA */
  30. #define MAX_DGRAM_SIZE 4096