Olivier Nicole a écrit :
I can read my ldap with ldapsearch :Nicolas,server_host = zimbra.pcsol.beAre you sure your server is running on port 389? Would you run TLS?>From your Postfix machine, can you access the LDAP server on zimbra machine (no firewall)? I would try ldapsearch command on the postfix machine to make sure that all the parameters in ldap-localusers.cf are valid. I think you need to bind in any case, if you do not configure a bind_dn and a bind_pw, it will make an anonymous bind, but I think you have to bind to your LDAP server before you can make a query. If you bind anonymously, you must make sure that the attributes you are searching for are readable. Best regards, Olivier ldapsearch -x -b "ou=people,dc=pcsol,dc=be" -H "ldap://zimbra.pcsol.be" Here is a sample of the output : # info, people, pcsol.beWhen I delete "bind = no", and I set bind_pw and bin_dn, I get the same error : postmap -q 'bla...@pcsol.be' ldap:/etc/postfix/ldap-localusers.cfThe "protocol error" let me think that there is a problem with encryption somewhere?? |
- 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: relay_domains vs virtual_mailbox_dom... Steve Heaven
- Re: relay_domains vs virtual_mailbo... Sahil Tandon
- Re: relay_domains vs virtual_ma... Steve Heaven
- Re: relay_domains vs virtua... Mikael Bak
- Re: relay_domains vs virtua... mouss
- Re: relay_domains vs virtua... Steve Heaven
- Re: relay_domains vs virtua... Clunk Werclick
- Re: relay_domains vs virtua... Steve Heaven