From 59beb411159176b39e48a52d60dd3239732e67b4 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 25 May 2009 20:35:41 -0400 Subject: [PATCH] auth: Added support for EXTERNAL SASL mechanism. --HG-- branch : HEAD --- src/auth/Makefile.am | 1 + src/auth/mech.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/auth/Makefile.am b/src/auth/Makefile.am index dc7df52470..3e8a8c7b18 100644 --- a/src/auth/Makefile.am +++ b/src/auth/Makefile.am @@ -74,6 +74,7 @@ dovecot_auth_SOURCES = \ mech-login.c \ mech-cram-md5.c \ mech-digest-md5.c \ + mech-external.c \ mech-gssapi.c \ mech-ntlm.c \ mech-otp.c \ diff --git a/src/auth/mech.c b/src/auth/mech.c index e59e721c25..0b55f08375 100644 --- a/src/auth/mech.c +++ b/src/auth/mech.c @@ -68,6 +68,7 @@ extern const struct mech_module mech_login; extern const struct mech_module mech_apop; extern const struct mech_module mech_cram_md5; extern const struct mech_module mech_digest_md5; +extern const struct mech_module mech_external; extern const struct mech_module mech_ntlm; extern const struct mech_module mech_otp; extern const struct mech_module mech_skey; @@ -89,6 +90,7 @@ void mech_init(const struct auth_settings *set) mech_register_module(&mech_apop); mech_register_module(&mech_cram_md5); mech_register_module(&mech_digest_md5); + mech_register_module(&mech_external); if (set->use_winbind) { mech_register_module(&mech_winbind_ntlm); mech_register_module(&mech_winbind_spnego); @@ -114,6 +116,7 @@ void mech_deinit(const struct auth_settings *set) mech_unregister_module(&mech_apop); mech_unregister_module(&mech_cram_md5); mech_unregister_module(&mech_digest_md5); + mech_unregister_module(&mech_external); if (set->use_winbind) { mech_unregister_module(&mech_winbind_ntlm); mech_unregister_module(&mech_winbind_spnego); -- 2.47.3