Re: [exim] Again nested LDAP queries...

Top Page
Delete this message
Reply to this message
Author: Marco Gaiarin
Date:  
To: Jasen Betts
CC: exim-users
Subject: Re: [exim] Again nested LDAP queries...
Mandi! Jasen Betts
In chel di` si favelave...

> the list in your example has only one item.
> see section exim spec 6.20, 6.21, 6.23


I know that. But as cited by Mike, the LDAP exim documentation suggest to
use 'listextract' to handle the ''double comma'' expansion.

But, really, i don't understand how...

>     ${listextract{1}{<, CN=sir,,OU=Users,,OU=FVG,,DC=ad,,DC=fvg,,DC=lnf,,DC=it}{$value}}


OK, this lead to 'CN=sir'. But i need the FULL DN, and the DN is
''variable'', eg i cannot append to a 'CN=sir a fixed base dn because i have
DN like:

    CN=sir,OU=Users,OU=FVG,DC=ad,DC=fvg,DC=lnf,DC=it


but also:

    cn=alex,OU=Users,OU=SanVito,OU=FVG,DC=ad,DC=fvg,DC=lnf,DC=it


or

    CN=unixadm,OU=Users,DC=ad,DC=fvg,DC=lnf,DC=it



Thanks.

-- 
  ...e andate chissa` dove per non pagar le tasse
  col ghigno e l'ignoranza dei primi della classe.    (F. Guccini)