[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Exim mit PAM auth



Hallo,

ich versuche unter Debian Woody Exim mit Pam-Authentication zum laufen zu
bringen. Kann mir jemand sagen ob Exim unter woody mit PAM-Support
compiliert ist? Für einen Tipp (Link) für gute Dokumentation wäre ich sehr
dankbar!

Vielen Dank schon mal im voraus!

Viele Grüße,

Ralf

----auth part exim.conf--------------------
 login:
   driver = plaintext
   public_name = LOGIN
   server_prompts = "Username:: : Password::"
   server_condition = "${if pam{$2:$3}{1}{0}}"
   server_set_id = $2
end
-------------------------------------------------
--------/etc/pam.d/exim (self created)-----------
auth     required       pam_unix_auth.so
account  required       pam_unix_acct.so
password required       pam_unix_passwd.so
session  required       pam_unix_session.so
----------------------------------------------------------
-------test------------
exim -bh 127.0.0.1
...
ehlo test
250-test.test.de Hello localhost [127.0.0.1]
250-SIZE
250-PIPELINING
250-AUTH PLAIN LOGIN
250 HELP
auth login AHRlc3QAdGVzdCE=
>>> login authenticator:
>>>   $1 =
>>>   $2 = test
>>>   $3 = test!
>>> expanded string: no
535 Incorrect authentication data
LOG: Authentication failed for localhost (test) [127.0.0.1]: 535 Incorrect
authentication data
-------------------------------------



Reply to: