diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2008-12-21 02:18:47 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2008-12-21 02:18:47 +0000 |
commit | cd4ff1f6087887da63195bf2e74dd313bb883770 (patch) | |
tree | b3a1675c6333100a24a95ddf4a0bbaeeebd05979 /usr.sbin/smtpd/smtp.c | |
parent | 9ae76cc0d5cfa03a838dea4cf1fd6450cc7f2814 (diff) |
- AUTH PLAIN may receive credentials as a parameter to AUTH or on a
following line, this commit brings support for the latter which was
not supported yet.
- AUTH LOGIN is now supported, allowing smtp auth support on clients that
do not support AUTH PLAIN (ie: my mobile phone for instance ;)
Diffstat (limited to 'usr.sbin/smtpd/smtp.c')
-rw-r--r-- | usr.sbin/smtpd/smtp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtp.c b/usr.sbin/smtpd/smtp.c index be44e27e14d..3219d07e260 100644 --- a/usr.sbin/smtpd/smtp.c +++ b/usr.sbin/smtpd/smtp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smtp.c,v 1.9 2008/12/13 23:19:34 jacekm Exp $ */ +/* $OpenBSD: smtp.c,v 1.10 2008/12/21 02:18:46 gilles Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org> @@ -178,7 +178,7 @@ smtp_dispatch_parent(int sig, short event, void *p) if (reply->value) s->s_flags |= F_AUTHENTICATED; - session_pickup(s, NULL); + session_auth_pickup(s, NULL); break; } |