aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2005-09-26 23:43:19 +0000
committerMatthias Andree <matthias.andree@gmx.de>2005-09-26 23:43:19 +0000
commitfa1fff3392c6aacc59596bdd0f19f8a254be814f (patch)
treecf4f8caef7ac4fcee466236d95ac573776d95498 /pop3.c
parentefc9006b339658898040fc9286aa5f8e95fc57b1 (diff)
downloadfetchmail-fa1fff3392c6aacc59596bdd0f19f8a254be814f.tar.gz
fetchmail-fa1fff3392c6aacc59596bdd0f19f8a254be814f.tar.bz2
fetchmail-fa1fff3392c6aacc59596bdd0f19f8a254be814f.zip
Complain in POP3 if NTLM/MSN auth is requested but not built in.
svn path=/trunk/; revision=4342
Diffstat (limited to 'pop3.c')
-rw-r--r--pop3.c6
1 files changed, 6 insertions, 0 deletions
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) {