Re: Exim mit PAM auth
-freu-
Hallo,
vielen Dank nochmal für die Hilfe! Ich habe nun eine Doku auf Italienisch
gefunden die mir geholfen hat. Mit dem Hauptaugenmerk das pam_exim
selbstzukompiliert wird.
Viele Grüße,
Ralf
Und weil ich mich so über diesen Erfolg gefreut habe quäle ich die Gruppe
auch noch mit meiner Komplettlösung für das Problem. ;-)
-downloaden
http://kernel.org/pub/linux/libs/pam/pre/library/Linux-PAM-0.77.tar.gz
http://www.e-admin.de/pam_exim/pam_exim.tgz
-entpacken
#cd /usr/local/src/
# tar xzf Linux-PAM-0.77.tar.gz
# cd Linux-PAM-0.77
# tar zxf ../pam_exim.tgz
-Anpassung wegen GID in Linux-PAM-0.77/modules/pam_exim/unix_chkpwd.c
---- cut ----
#define MINUID 500
#define EXIMUID 8
#define EXIMGID 8
--------------
# ./configure --enable-read-both-confs # for pam.d dir
# make
# make install
-Exim Config
host_auth_accept_relay = *
....
plain:
driver = plaintext
public_name = PLAIN
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
end
-/etc/pam.d/exim
#%PAM-1.0
auth required /lib/security/pam_exim.so
account required /lib/security/pam_permit.so
-restart
/etc/init.d/exim restart
Reply to: