diff options
author | Karl Ramm <kcr@1ts.org> | 2009-03-31 15:35:01 +0000 |
---|---|---|
committer | Karl Ramm <kcr@1ts.org> | 2009-03-31 15:35:01 +0000 |
commit | 3ce81669187e97cef584f4475047d93c581673c8 (patch) | |
tree | a454a366fd54b5f3d5ffafbe48cf905e4e00fc39 /server/main.c | |
parent | b78725faf30453e112e87a3b1a6de8ac3d125d47 (diff) |
keep zephyrd's ticket files in /var/run, not under /etc
Diffstat (limited to 'server/main.c')
-rw-r--r-- | server/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/main.c b/server/main.c index 27b33c1..deac8dd 100644 --- a/server/main.c +++ b/server/main.c @@ -163,11 +163,11 @@ main(int argc, sprintf(list_file, "%s/zephyr/%s", SYSCONFDIR, SERVER_LIST_FILE); #ifdef HAVE_KRB4 sprintf(srvtab_file, "%s/zephyr/%s", SYSCONFDIR, ZEPHYR_SRVTAB); - sprintf(tkt_file, "%s/zephyr/%s", SYSCONFDIR, ZEPHYR_TKFILE); + strcpy(tkt_file, ZEPHYR_TKFILE); #endif #ifdef HAVE_KRB5 sprintf(keytab_file, "%s/zephyr/%s", SYSCONFDIR, ZEPHYR_KEYTAB); - sprintf(tkt5_file, "FILE:%s/zephyr/%s", SYSCONFDIR, ZEPHYR_TK5FILE); + strcpy(tkt5_file, ZEPHYR_TK5FILE); #endif sprintf(acl_dir, "%s/zephyr/%s", SYSCONFDIR, ZEPHYR_ACL_DIR); sprintf(subs_file, "%s/zephyr/%s", SYSCONFDIR, DEFAULT_SUBS_FILE); |