diff options
author | John Kohl <jtkohl@mit.edu> | 1988-11-14 06:18:47 +0000 |
---|---|---|
committer | John Kohl <jtkohl@mit.edu> | 1988-11-14 06:18:47 +0000 |
commit | 87688733646f00ce8821b437752d164259eb5d74 (patch) | |
tree | e993320c65111081d7c32e2b3455d3164b2eccae | |
parent | fd996e36f45c9f125ed5b48a062dbc13afb9b09e (diff) |
add some #ifdef's for KERBEROS, fix up ZEPHYR_SRVTAB message.
-rw-r--r-- | server/main.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/server/main.c b/server/main.c index c3e2d85..9f87e31 100644 --- a/server/main.c +++ b/server/main.c @@ -14,9 +14,9 @@ #include <zephyr/mit-copyright.h> #ifdef DEBUG -char version[] = "Zephyr Server (DEBUG) 3.7"; +char version[] = "Zephyr Server (DEBUG) 3.8"; #else -char version[] = "Zephyr Server 3.7"; +char version[] = "Zephyr Server 3.8"; #endif DEBUG #ifndef lint #ifndef SABER @@ -152,6 +152,7 @@ char **argv; } } +#ifdef KERBEROS /* if there is no readable srvtab and we are not standalone, there is no possible way we can succeed, so we exit */ @@ -160,9 +161,11 @@ char **argv; && !zalone #endif DEBUG ) { - fprintf(stderr, "NO ZEPHYR SRVTAB available; exiting\n"); + fprintf(stderr, "NO ZEPHYR SRVTAB (%s) available; exiting\n", + ZEPHYR_SRVTAB); exit(1); } +#endif KERBEROS #ifndef DEBUG detach(); |