Re: [Exim] LDAP query

Inizio della pagina
Delete this message
Reply to this message
Autore: Philip Hazel
Data:  
To: Yann Algayon
CC: exim-users
Oggetto: Re: [Exim] LDAP query
On Fri, 3 Mar 2000, Yann Algayon wrote:

> I tried something like :
>
> search_type = ldap
> query = "user='cn=........' pass=****** ldap:///..... "
>
> but it doesn't work.


What goes wrong? You must use double quotes for the "user" item if it
contains spaces; otherwise you don't need to quote that. The syntax
should either be

query = user="cn=........" pass=****** ldap:///.....

or

query = "user=\"cn=........\" pass=****** ldap:///..... "




-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.