Re: [Exim] LDAP query

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Yann Algayon
CC: exim-users
Tárgy: 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.