Unix Technical Forum

Exim PAM Auth

This is a discussion on Exim PAM Auth within the Linux Operating System forums, part of the Unix Operating Systems category; --> Hi group, i'm searching working config examples for Exim MTA with PAM. And/or good Documentation. How can i find ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 05:52 PM
Ralf Liebig
 
Posts: n/a
Default Exim PAM Auth

Hi group,

i'm searching working config examples for Exim MTA with PAM. And/or good
Documentation. How can i find out if my exim 3.35 is compiled with pam
support? How can i turn on debug info for my log-files?

Thanks a lot in advance for any good link or tip to get this workin!

Kind regards,

Ralf

----auth part exim.conf--------------------
login:
driver = plaintext
public_name = LOGIN
server_prompts = "Username:: : Password::"
#server_condition = "${if pam{$1:$2}{1}{0}}"
server_condition = ${if pam{$1:${sg{$2}{:}{::}}}{yes}{no}}
server_set_id = $1
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-mx-04-obdf.smt.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
-------------------------------------
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:38 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com