config ADK_COMPILE_HEIMDAL
	prompt "heimdal........................... Heimdal kerberos software"
	bool
	default n

config ADK_COMPILE_HEIMDAL_WITH_PKINIT
	prompt "Enable PK-INIT"
	bool
	depends on ADK_COMPILE_HEIMDAL
	default n

config ADK_PACKAGE_HEIMDAL_SERVER
	prompt "heimdal-server.................... heimdal kerberos server"
	tristate
	depends on ADK_COMPILE_HEIMDAL
	select ADK_PACKAGE_LIBPTHREAD
	select ADK_PACKAGE_LIBOPENSSL
	select ADK_PACKAGE_LIBNCURSES
	select ADK_PACKAGE_HEIMDAL_LIBS
	select ADK_PACKAGE_HEIMDAL_CLIENT_LIBS
	default n
	help
	  http://www.h5l.org

choice
prompt "Database backend"
depends on ADK_PACKAGE_HEIMDAL_SERVER
default ADK_COMPILE_HEIMDAL_WITH_DB_BDB

config ADK_COMPILE_HEIMDAL_WITH_DB_BDB
	bool "Berkeley DB backend"
	select ADK_PACKAGE_LIBDB
	help
	  Use Oracle Berkeley DB as kerberos database backend.

config ADK_COMPILE_HEIMDAL_WITH_DB_LDAP
	bool "LDAP backend"
	select ADK_PACKAGE_LIBOPENLDAP
	help
	  Use OpenLDAP as kerberos database backend.
	  (Useful for SSO setup)

endchoice

config ADK_PACKAGE_HEIMDAL_LIBS
	prompt "heimdal-libs...................... heimdal kerberos libraries"
	tristate
	depends on ADK_COMPILE_HEIMDAL
	select ADK_PACKAGE_LIBPTHREAD
	select ADK_PACKAGE_LIBOPENSSL
	default n
	help
	  http://www.h5l.org

config ADK_PACKAGE_HEIMDAL_CLIENT_LIBS
	prompt "heimdal-client-libs............... heimdal kerberos client libraries"
	tristate
	depends on ADK_COMPILE_HEIMDAL
	select ADK_PACKAGE_LIBPTHREAD
	select ADK_PACKAGE_LIBOPENSSL
	default n
	help
	  http://www.h5l.org
