Package: postfix-ldap
Version: 2.3.8-2+b1

Error Message:
Jun 19 15:49:11 ldaptest postfix/smtpd[19188]: warning: dict_ldap_connect:
Unable to bind to server ldap://localhost:389 as
cn=admin,dc=localhost,dc=localdomain: 2 (Protocol error)

Debian: 4.0(etch)
Kernel: 2.6.16.42
Libc: 2.3.6.ds1-13
Slapd: 2.3.30-5

My tests included using postfix-ldap-2.3.8-2+b1 and slapd-2.3.30-5, using
default v3 bind's, and received the above error message.  During these
tests, I changed /etc/ldap/slapd.conf from slapd-2.3.30-5 to 'allow bind_v2'
and it continued to not work with the postfix-ldap-2.3.8-2+b1 package, but
v2 binds worked with other ldap clients.

As an added test, I took the postfix source package (2.4.3) from 'unstable'
and built it on my test system.  These tests were able to successfully bind
using LDAP v2, however were still unsuccessful with LDAP v3 binds.

This may point to an upstream problem, but I wanted to submit this as a bug
report, in case it is specific to Debian only.

I'm not sure what additional information you might need, but if you require
more information, please let me know.

--clip from /etc/postfix/main.cf--
ldapaliases_server_host  = localhost
ldapaliases_search_base  = dc=localhost,dc=localdomain
ldapaliases_query_filter =
(&(objectClass=posixAccount)(accountStatus=true)(mailacceptinggeneralid=%u))
ldapaliases_result_filter = OK
ldapaliases_bind = yes
ldapaliases_bind_dn = cn=admin,dc=localhost,dc=localdomain
ldapaliases_bind_pw = xxxxxxxx
ldapaliases_wildcards = no
--clip from /etc/postfix/main.cf--

Thanks in advance,

-
Adam Young
Systems Support Technologist
Mountain Cablevision Ltd.
1-905-667-7436
http://www.mountaincable.net/





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to