summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Park <pjpark@mit.edu>1995-07-27 19:41:02 +0000
committerPaul Park <pjpark@mit.edu>1995-07-27 19:41:02 +0000
commit06cbcf5ce4e3b6f123c94bfba308a6fab074db1a (patch)
tree3ce30886897bcae1da4ce0f41bc7a5ba5bd4beb0
parent255a8d31af62e6d8e6c46a4bb698c5f7fa812b6e (diff)
downloadkrb5-06cbcf5ce4e3b6f123c94bfba308a6fab074db1a.tar.gz
krb5-06cbcf5ce4e3b6f123c94bfba308a6fab074db1a.tar.xz
krb5-06cbcf5ce4e3b6f123c94bfba308a6fab074db1a.zip
Add --with-vague-errors and --with-kdc-kdb-update which controls KDC behavior
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6336 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--src/kdc/configure.in28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/kdc/configure.in b/src/kdc/configure.in
index 3effe5dd1..90f90d8de 100644
--- a/src/kdc/configure.in
+++ b/src/kdc/configure.in
@@ -5,6 +5,34 @@ AC_HEADER_CHECK(termios.h,AC_FUNC_CHECK([tcsetattr],AC_DEFINE(POSIX_TERMIOS)))
AC_CHECK_HEADERS(sys/select.h)
ET_RULES
HAS_ANSI_VOLATILE
+dnl
+dnl --with-vague-errors disables useful error messages.
+dnl
+AC_ARG_WITH([vague-errors],
+[ --with-vague-errors Do not supply helpful error messages to clients
+ --without-vague-errors Supply helpful error messages to clients (default)],
+,
+withval=no)dnl
+if test "$withval" = yes; then
+ AC_MSG_RESULT(Supplying vague error messages to KDC clients)
+ AC_DEFINE(KRBCONF_VAGUE_ERRORS)
+fi
+dnl
+dnl --with-kdc-kdb-update makes the KDC update the database with last request
+dnl information and failure information.
+dnl
+AC_ARG_WITH([kdc-kdb-update],
+[ --with-kdc-kdb-update Update the database
+ --without-kdc-kdb-update1 Do not update the database (default)],
+,
+withval=no)dnl
+if test "$withval" = yes; then
+ AC_MSG_RESULT(Updating KDC database with each request)
+ AC_DEFINE(KRBCONF_KDC_MODIFIES_KDB)
+fi
+dnl
+dnl --with-dbm uses native DBM for the KDC database.
+dnl
AC_ARG_WITH([dbm],
[ --with-dbm use native dbm for kdc database
--without-dbm use included version of Berkeley db (default)],