Re: [exim] LDAP second level queries?

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Jeremy Harris
日付:  
To: exim-users
題目: Re: [exim] LDAP second level queries?
On 14/06/17 07:13, Mikhail Golub wrote:
> data = ${sg \
>                 { ${lookup ldapm {LDAP_AUTH
> ldap:///DC=CORP,DC=COM?mail?sub?(&(objectClass=user)(mail=*)(memberOf:1.2.840.113556.1.4.1941:=\

>
>                   ${sg { ${lookup ldapm {LDAP_AUTH
> ldap:///OU=MYOU,DC=CORP,DC=COM?distinguishedName?sub?(&(proxyAddresses=smtp:${quote_ldap:$local_part}@$domain)(objectclass=*))}}\

>
>                   } {,,} {,} } ))}} } {\n} {,} }


Using listextract rather than sg, as the docs recommend, is slightly
cleaner.
--
Jeremy