Re: [exim] Error with saslpasswd and authtentication test - …

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: sam
Dátum:  
Címzett: sam
CC: exim-users
Régi témák: [exim] Error with saslpasswd and authtentication test
Tárgy: Re: [exim] Error with saslpasswd and authtentication test - maybe have fix the saslpasswd only.
sam wrote:

>
> Hi,
>
> when running a test for exim 4.42 with cyrus_pwcheck,
> The authtenticaiton failed with the following error:
>
> ....
> SMTP>> 250-at.authtec.com Hello localhost [127.0.0.1]
> 250-SIZE 52428800
> 250-PIPELINING
> 250-AUTH PLAIN LOGIN
> 250 HELP
> AUTH PLAIN AGpvaG4AdGVzdA==
> SMTP<< AUTH PLAIN AGpvaG4AdGVzdA==
> Running pwcheck authentication for user "john"
> pwcheck: access denied (Userid not found)
> plain authenticator:
> $1 =
> $2 = john
> $3 = test
> expanded string: 0
> SMTP>> 535 Incorrect authentication data
> 535 Incorrect authentication data
> LOG: MAIN REJECT
> plain authenticator failed for (localhost) [127.0.0.1]: 535 Incorrect
> authentication data
> ..
>
> I have executed saslpasswd -c john to create this new user with
> password "test", but the log file has error with sasldb.db:
> Oct 11 17:59:07 at saslpasswd: PLAIN: failed to set secret for john:
> user not found
> Oct 11 17:59:07 at saslpasswd: DIGEST-MD5: failed to set secret for
> john: user not found
> Oct 11 17:59:07 at saslpasswd: CRAM-MD5: failed to set secret for
> john: user not found
>
> What should I do correct this error?
>
> Thanks
> Sam
>
>

I may be have fixed the problem with saslpasswd by symlink the
/usr/local/lib/sasl to /usr/lib/sasl.
I don't see any error in the /var/log/messages when added user john and
password test to the sasldb.db file.
But I m still can't get the exim pass with the authentication:
...
SMTP<< AUTH PLAIN AGpvaG4AdGVzdA==
Running pwcheck authentication for user "john"
pwcheck: access denied (Userid not found)
plain authenticator:
$1 =
$2 = john
$3 = test
expanded string: 0
SMTP>> 535 Incorrect authentication data

535 Incorrect authentication data
..
Does anyone have any suggestoin?

Thanks
Sam


-- 
Security Architect/Consultant
AuthTec Gateway Limited
Mobile: 9839 2464    
Email: sam.wun@???
Website: http://www.authtec.com


---
?????????????????!????????????????!!????????????????!!!