Fix server_set_id for SPA/NTLM auth.
authorPhil Pennock <pdp@exim.org>
Wed, 7 Nov 2012 06:53:37 +0000 (01:53 -0500)
committerPhil Pennock <pdp@exim.org>
Wed, 7 Nov 2012 07:05:20 +0000 (02:05 -0500)
commitf68fe5f62128effcce35efca90d74bc6df066765
treefcde139aaa03b7d77636a6016217ed528e0b59f8
parentc8e2fc1e846d1c9bee207d162182fb770b9ae1bd
Fix server_set_id for SPA/NTLM auth.

Broken in 4.80 release, commit 08488c86.

We need to leave $auth1 available after the authenticator returns, so
that server_set_id can be evaluated by the caller.  We need to do this
whether we succeed or fail, because server_set_id only makes it into
$authenticated_id if we return OK, but is logged regardless.

Updated test config to set server_set_id; updated logs.
src/src/auths/spa.c
test/confs/3600
test/log/3600
test/rejectlog/3600