From: Timo Sirainen Date: Tue, 26 May 2009 00:35:41 +0000 (-0400) Subject: auth: Added support for EXTERNAL SASL mechanism. X-Git-Tag: 2.0.alpha1~690 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=59beb411159176b39e48a52d60dd3239732e67b4;p=thirdparty%2Fdovecot%2Fcore.git auth: Added support for EXTERNAL SASL mechanism. --HG-- branch : HEAD --- 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);