From: Paul Park Date: Thu, 27 Jul 1995 19:41:02 +0000 (+0000) Subject: Add --with-vague-errors and --with-kdc-kdb-update which controls KDC behavior X-Git-Tag: krb5-1.0-beta6~1484 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=06cbcf5ce4e3b6f123c94bfba308a6fab074db1a;p=krb5.git 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 --- 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)],