Re: [Exim] LDAP lookups in header re-writing

Top Page
Delete this message
Reply to this message
Author: Steve Haslam
Date:  
To: Kevin J Collins
CC: exim-users
Subject: Re: [Exim] LDAP lookups in header re-writing
On Fri, Dec 15, 2000 at 02:03:42PM +0000, Kevin J Collins wrote:
> *@*.hw.ac.uk  ${lookup ldap {user=\"cn=authuser,dc=hw,dc=ac,dc=uk\"
>         pass=******** 
>         ldap:///ou=accounts,dc=hw,dc=ac,dc=uk?hwmailname?sub?(uid=$1)}
>         {$value}fail}@??? frF                                    

>
>
> The ldap server is defined elsewhere as it is used in the traditional
> aliases lookups and works quite successfully.


Shouldn't you have brackets in the pattern if you're going to use $1?
Or maybe just use "(uid=$local_part)" ?

-- 
+                  Steve Haslam                  |   W: +44-20-7447-1839   +
+  Just Another Production Engineer, Excite UK   |   M: +44-7775-645618    +
.              NP: Meat Beat Manifesto - Everything counts []              .