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

Inizio della pagina
Delete this message
Reply to this message
Autore: Marco Gaiarin
Data:  
To: Jasen Betts
CC: exim-users
Oggetto: 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)