diff options
Diffstat (limited to 'imap')
| -rw-r--r-- | imap/authenticate_auth.c | 3 | ||||
| -rw-r--r-- | imap/imaplogin.c | 3 | ||||
| -rw-r--r-- | imap/pop3login.c | 16 |
3 files changed, 13 insertions, 9 deletions
diff --git a/imap/authenticate_auth.c b/imap/authenticate_auth.c index 04b03ac..60334e9 100644 --- a/imap/authenticate_auth.c +++ b/imap/authenticate_auth.c @@ -136,7 +136,8 @@ int rc; if (!p || !*p) p="imap"; - rc=auth_generic(p, authtype, authdata, login_callback, (void *)tag); + rc=auth_generic_meta(NULL, p, authtype, authdata, + login_callback, (void *)tag); free(authtype); free(authdata); return (rc); diff --git a/imap/imaplogin.c b/imap/imaplogin.c index 4cc5670..8e8289e 100644 --- a/imap/imaplogin.c +++ b/imap/imaplogin.c @@ -374,7 +374,8 @@ int do_imap_command(const char *tag, int *flushflag) if (!p || !*p) p="imap"; - rc=auth_login(p, userid, passwd, login_callback, (void *)tag); + rc=auth_login_meta(NULL, p, userid, passwd, + login_callback, (void *)tag); courier_safe_printf("INFO: LOGIN FAILED, user=%s, ip=[%s], port=[%s]", userid, getenv("TCPREMOTEIP"), getenv("TCPREMOTEPORT")); diff --git a/imap/pop3login.c b/imap/pop3login.c index 1b43df2..611e927 100644 --- a/imap/pop3login.c +++ b/imap/pop3login.c @@ -1,5 +1,5 @@ /* -** Copyright 1998 - 2014 Double Precision, Inc. +** Copyright 1998 - 2020 Double Precision, Inc. ** See COPYING for distribution information. */ @@ -403,11 +403,12 @@ char *q ; if (!q || !*q) q="pop3"; - rc=auth_generic(q, - authtype, - authdata, - login_callback, - NULL); + rc=auth_generic_meta + (NULL, q, + authtype, + authdata, + login_callback, + NULL); free(authtype); free(authdata); } @@ -452,7 +453,8 @@ char *q ; if (!q || !*q) q="pop3"; - rc=auth_login(q, user, p, login_callback, NULL); + rc=auth_login_meta(NULL, q, user, p, + login_callback, NULL); courier_safe_printf ("INFO: LOGIN " "FAILED, user=%s, ip=[%s], port=[%s]", |
