diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-09-26 23:43:19 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-09-26 23:43:19 +0000 |
commit | fa1fff3392c6aacc59596bdd0f19f8a254be814f (patch) | |
tree | cf4f8caef7ac4fcee466236d95ac573776d95498 /pop3.c | |
parent | efc9006b339658898040fc9286aa5f8e95fc57b1 (diff) | |
download | fetchmail-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.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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) { |