Victor Duchovni a écrit :
I think we are on a good way. I don't have any error anyway. But my postmap command give me back no output.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. So I summarize. I have now that configuration into my ldap-localusers.cf : server_host = zimbra.pcsol.beHere is an entry of my ldap server (got with ldapsearch) : # info, people, pcsol.beSo I try typing : postmap -q 'info' ldap:/etc/postfix/ldap-localusers.cfBut it gives me no outuput. An idea?? Thx, nm |
- local_recipient_maps into an ldap Nicolas Michel
- Re: local_recipient_maps into an ldap Olivier Nicole
- Re: local_recipient_maps into an ldap Nicolas Michel
- relay_domains vs virtual_mailbox_domains Steve Heaven
- Re: relay_domains vs virtual_mailbox_domains Victor Duchovni
- Re: local_recipient_maps into an ldap Victor Duchovni
- Re: local_recipient_maps into an ldap Nicolas Michel
- Re: local_recipient_maps into an ldap Victor Duchovni
- local_recipient_maps into an ldap Nicolas Michel
- Re: local_recipient_maps into an ldap Nicolas Michel
- Re: local_recipient_maps into an ldap Victor Duchovni