Re: [Exim] LDAP query

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Yann Algayon
Υ/ο: exim-users
Αντικείμενο: 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.