Re: [exim] exim samba4 active directory

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Benoît PELISSIER
Fecha:  
A: exim-users
Asunto: Re: [exim] exim samba4 active directory
Hi Marco,

thanks for your answer.

So third block is router.

And first and second ? Where can i put here ?

First on main exim config ?
Second on transport exim config ?

Sorry for my stupid question !

Why there is not template on https://www.exim.org/ ?
Nobody use exim as mta on ldap/AD ?

Benoît

Le 07/05/2020 à 22:55, Marco Gaiarin via Exim-users a écrit :
> LOCAL_AD_SERVERS = vdcsv1.ad.fvg.lnf.it::3268
> LOCAL_AD_BASE_DN = ${quote_ldap:OU=FVG,DC=ad,DC=fvg,DC=lnf,DC=it}
> # You have to create a user to access the LDAP/AD server
> LOCAL_AD_BIND_DN = ${quote_ldap:CN=mta,OU=Restricted,DC=ad,DC=fvg,DC=lnf,DC=it}
> LOCAL_AD_PASS = "nontelado"
>
>
> Then:
>
> .ifdef LOCAL_AD_SERVERS
> ldap_default_servers = LOCAL_AD_SERVERS
> ldap_start_tls = true
> ldap_require_cert = never
> .endif
>
>
> so, a query:
>
> .ifdef LOCAL_AD_SERVERS
>
> user_ad_aliases:
>    debug_print = "R: user_ad_aliases for $local_part@$domain"
>    driver = redirect
>    domains = +local_domains
>    data = ${lookup ldap {user=LOCAL_AD_BIND_DN pass=LOCAL_AD_PASSldap:///LOCAL_AD_BASE_DN?uid?sub?(&(objectClass=user)(!(objectClass=computer))(mail=${quote_ldap:${local_part}}@${quote_ldap:${domain}}))}}

>
> .endif

begin:vcard
fn;quoted-printable:Beno=C3=AEt PELISSIER
n;quoted-printable:PELISSIER;Beno=C3=AEt
org;quoted-printable:LAN2NET - l'informatique fiable sous Linux + logiciels libres;membre du r=C3=A9seau "Alliance-Libre"
adr;quoted-printable;dom:12 avenue Jules Verne;;Les Espaces Jules Verne, b=C3=A2timent A;SAINT-SEBASTIEN SUR LOIRE;;44230
email;internet:bpelissier@???
title;quoted-printable:Technicien syst=C3=A8me & r=C3=A9seau
tel;work:02 85 52 65 37
tel;cell:06 86 03 60 26
url:http://www.lan2net.fr
version:2.1
end:vcard