]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: Added support for EXTERNAL SASL mechanism.
authorTimo Sirainen <tss@iki.fi>
Tue, 26 May 2009 00:35:41 +0000 (20:35 -0400)
committerTimo Sirainen <tss@iki.fi>
Tue, 26 May 2009 00:35:41 +0000 (20:35 -0400)
--HG--
branch : HEAD

src/auth/Makefile.am
src/auth/mech.c

index dc7df52470c88cf273ac50734fb671ff615682a3..3e8a8c7b188adf4b526769d97a7a919a09238798 100644 (file)
@@ -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 \
index e59e721c2538dd0b7b03baa9263877a6eb62ade0..0b55f0837500847c072dd6b351935094ba90129a 100644 (file)
@@ -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);