Re: [exim] LDAP Rewrite. Can it be done!

Top Page
Delete this message
Reply to this message
Author: G M Robins
Date:  
To: 'Jan-Piet Mens', 'G M Robins'
CC: 'exim-users@exim.org'
Subject: Re: [exim] LDAP Rewrite. Can it be done!

Hi,

I got it to work. The LDAPBASEURL contained a password which contained a $ which was messing things up.

The version with quotes works correctley.

Its was one of those problem where the soltuion is under your nose.

Thanks for the help guys.


Regards,


Gareth


> -----Original Message-----
> From: Jan-Piet Mens [mailto:jpm@retail-sc.com]
> Sent: 03 August 2009 14:55
> To: G.M.Robins
> Cc: 'exim-users@???'
> Subject: Re: [exim] LDAP Rewrite. Can it be done!
>
> > Is it possible to use ldap as a source for rewriting?
>
> Yes. Put the whole RHS in quotes:
>
>         *@exchange.example.com    "${lookup ....... fail}"

>
> Are you sure about the equals (=) in this?
>
> > ldap{LDAPBASEURL
> ldap:///dc=example,dc=com?proxyAddress=smtp?sub?(&(obje...
>                                              ^^^^^^^^^^^^^^^^^

>
>
>         -JP

>




The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302).