[exim] Exim with PAM

Pàgina inicial
Delete this message
Reply to this message
Autor: samer khalil
Data:  
A: exim-users
Assumpte: [exim] Exim with PAM
Hi,
I m trying to to run exin auth with PAM. For that i installed Exim with:
*
SUPPORT_TLS=yes
TLS_LIBS=-lssl -lcrypto
TLS_INCLUDE=-I/usr/include/openssl -I/usr/kerberos/include
AUTH_CRAM_MD5=yes
AUTH_PLAINTEXT=yes
AUTH_SPA=yes
TLS_LIBS=-L/usr/local/openssl/lib -lssl
SUPPORT_PAM=yes
EXTRALIBS=-lpam*

and in my configure file i have:
*
begin authenticators*
*plain:
  driver               = plaintext
  public_name          = PLAIN
 server_prompts        = :
 server_condition      = "${if pam{$2:$3}{1}{0}}"
  server_set_id        = $2*
*login:
  driver               = plaintext
  public_name          = LOGIN
  server_prompts       = "Username:: : Password::"
  server_condition         = "${if pam{$1:$2}{1}{0}}"
  server_set_id        = $1
*
my etc/pam.d/exim:


*#%PAM-1.0
auth       required     /lib/security/pam_krb5.so minimum_uid=100
account    required     /lib/security/pam_unix.so
password   required     /lib/security/pam_krb5.so
session    required     /lib/security/pam_unix.so
*


andf my krb5.conf is well configured.

Yet when i test exim i get the following error:

*2008-06-18 17:10:45 login authenticator failed for (samerkPC) [
192.168.1.104]: 435 Unable to authenticate at present (set_id=samerk):
Permission denied*

Am i missing somehting, do you need me to post more details ?

Thnaks for your support

-----------------------------------------------------------------
Samer Khalil
Computing & Networking Services     American University of Beirut
E-Mail:samerk@??? <E-Mail%3Asamerk@???>  Room:341
Phone:961-1-350000 / Ext:2242