On Thu, Sep 03, 2009 at 01:04:01PM +0200, Nicolas Michel wrote:

>    In that file (ldap-localusers.cf), I set this :
> 
>      server_host = zimbra.pcsol.be
>      search_base = ou=people,dc=pcsol,dc=be
>      query_filter = (&(mail=%s)(accountStatus=active))
>      result_atribute = uid
>      bind = no
> 
>    When I test that configuration with postmap I get no output, nothing. If I
>    remove the "bind = no" line, I get an error :
> 
>      postmap -q '[1...@pcsol.be' ldap:/etc/postfix/ldap-localusers.cf
>      postmap: warning: dict_ldap_connect: Unable to bind to server
>      ldap://zimbra.pcsol.be:389 as : 2 (Protocol error)
> 
>    Do someone have an idea??

Try adding:

        version = 3

to the LDAP .cf file.

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majord...@postfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to