Re: [Exim] LDAP search: no results

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Tabor J. Wells
Fecha:  
A: exim-users
Asunto: Re: [Exim] LDAP search: no results
On Sun, Apr 22, 2001 at 08:01:09PM -0400,
Tabor J. Wells <twells@???> is thought to have said:

> I'm in the process of converting one of my servers from NIS+ lookups to
> LDAP but I'm having problems with the lookup. This is with Exim 3.22
>
> My director:
>
> localuser:
> driver = aliasfile
> search_type = ldap
> query = "user=\ldapuser\" ldap:///o=domain.com,ou=People?uid?sub?(uid=$local_part)"
> group = user
> transport = local_delivery


Thanks to Dan Lowe for the answer. For the sake of the archives, it was
that "o=domain.com,ou=People" should have been "ou=People,o=domain.com".
Also both he and Phil Pennock suggested using ${quote_ldap:$local_part}.

Tabor

-- 
--------------------------------------------------------------------
Tabor J. Wells                                     twells@???
Fsck It!                 Just another victim of the ambient morality