RE: [Exim] Exim + NIS

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Christian Frömmel
Fecha:  
A: 'Bruno Couto', exim-users
Asunto: RE: [Exim] Exim + NIS
Hi,

> i want to configure my exim 3.35 to use smtp authentication
> whith NIS.
> but i not have any idea to write the server_condition
> parameter to do this.


I used to use these settings for years, way back at v3-times

# AUTH Section

plain:
driver = plaintext
public_name = PLAIN
server_condition = "${if and {{!eq{$2}{}}{!eq{$3}{}} \
{crypteq{$3}{${extract{2}{:} \
{${lookup{$2}nis{passwd.byname}{$value}{*:*}}}}}}}{1}{0}}"
server_set_id = $2

login:
driver = plaintext
public_name = LOGIN
server_prompts = "Username:: : Password::"
server_condition = "${if and {{!eq{$1}{}}{!eq{$2}{}} \
{crypteq{$2}{${extract{2}{:} \
{${lookup{$1}nis{passwd.byname}{$value}{*:*}}}}}}}{1}{0}}"
server_set_id = $1

regards,
--
Christian Froemmel - Systemadministration Mail/Webserver
FU Berlin - Fachbereich Humanmedizin / Med. Inf.