[exim] problem with SPA authentication

Pàgina inicial
Delete this message
Reply to this message
Autor: Slawomir Orlowski \(CYMPAK\)
Data:  
A: exim-users
Assumpte: [exim] problem with SPA authentication
Hello,

I have exim 4.6. I would like to have spa authentication with Outlook
Express MUA.

I have set up my exim configure file (according to Philip Hazel book:

acl_check_rcpt:
...
accept authenticated = *

# AUTHENTICATION CONFIGURATION #
######################################################################
# There are no authenticator specifications in this default configuration
file.
begin authenticators
spa:
driver = spa
public_name = NTLM
server_password =
${lookup{$1}lsearch{/etc/mail/passwde.$domain}{$value}fail}
## server_set_id = $1


[root@diamond root]# /usr/local/exim4/bin/exim -bP authenticators
spa authenticator:
driver = spa
public_name = NTLM
server_advertise_condition =
server_debug_print =
server_mail_auth_condition =
server_set_id =
client_domain =
client_password =
client_username =
server_password =
${lookup{$1}lsearch{/etc/mail/passwde.$domain}{$value}fail}

testing:

(AHRlc3QAdGVzdDIwMDU = echo -n -e '\0login\0password'|mimencode)

[root@diamond root]# exim -bh 64.136.20.21
...
...
< 250-diamond.cympak.com Hello authns.nyc.untd.com [64.136.20.21]
< 250-SIZE 52428800
< 250-PIPELINING
< 250-AUTH NTLM
< 250 HELP
> AUTH NTLM

< 334 NTLM supported
> AHRlc3QAdGVzdDIwMDU=

< 334 TlRMTVNTUAACAAAAAAAAAAAoAAABggAAQH2qXVhD9WwAAAAAAAAAAAAAAAAAAAAA
> "Enter was pressed"

< 535 Incorrect authentication data
< LOG: spa authenticator failed for authns.nyc.untd.com (krak)
[64.136.20.21]: 535 Incorrect authentication data

According to this test SPA is not working.

How to set ip up ?
What I'm doing wrong, how to test spa authentication ?
Any help would be greatly appreciated.

Regards
Slawomir Orlowski