From fa1fff3392c6aacc59596bdd0f19f8a254be814f Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Mon, 26 Sep 2005 23:43:19 +0000 Subject: Complain in POP3 if NTLM/MSN auth is requested but not built in. svn path=/trunk/; revision=4342 --- pop3.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pop3.c b/pop3.c index d830590e..67489469 100644 --- a/pop3.c +++ b/pop3.c @@ -327,6 +327,12 @@ static int pop3_getauth(int sock, struct query *ctl, char *greeting) return (do_pop3_ntlm(sock, ctl, 1) == 0) ? PS_SUCCESS : PS_AUTHFAIL; if (ctl->server.authenticate == A_NTLM) return (do_pop3_ntlm(sock, ctl, 0) == 0) ? PS_SUCCESS : PS_AUTHFAIL; +#else + if (ctl->server.authenticate == A_NTLM || ctl->server.authenticate == A_MSN) + { + report(stderr, + GT_("Required NTLM capability not compiled into fetchmail\n")); + } #endif switch (ctl->server.protocol) { -- cgit v1.2.3