On 8/22/05, Sam Varshavchik <[EMAIL PROTECTED]> wrote:
> Bryan Irvine writes:
>
> > Aug 22 16:56:30 mailtest last message repeated 3 times
> > Aug 22 16:57:03 mailtest authdaemond.ldap: ldap_simple_bind_s failed:
> > Protocol error
> > Aug 22 16:56:30 mailtest last message repeated 3 times
> > Aug 22 16:57:03 mailtest authdaemond.ldap: ldap_simple_bind_s failed:
> > Protocol error
> > Temporary authentication failure from module authdaemon
> > Authentication FAILED!
>
> This indicates an error in connection parameters.
>
> Use your LDAP server's logs to determine if it logs a connection. If not,
> the server's address, port, or protocol version (LDAP V2/V3) is wrong.
>
> If it logs a connection, your bind parameters are wrong.
I've tried switching ldap to 'allow bind_v2' and setting
'LDAP_PROTOCOL_VERSION 2' in the authldaprc file. No change.
Here's the connection log from ldap.
connection_get(12): got connid=0
connection_read(12): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 12 contents:
ber_get_next
ber_get_next on fd 12 failed errno=35 (Resource temporarily unavailable)
do_bind
ber_scanf fmt ({imt) ber:
ber_scanf fmt (m}) ber:
>>> dnPrettyNormal: <>
<<< dnPrettyNormal: <>, <>
do_bind: version=3 dn="" method=128
send_ldap_result: conn=0 op=0 p=3
send_ldap_response: msgid=1 tag=97 err=0
ber_flush: 14 bytes to sd 12
do_bind: v3 anonymous bind
connection_get(12): got connid=0
connection_read(12): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 154 contents:
ber_get_next
ber_get_next on fd 12 failed errno=35 (Resource temporarily unavailable)
do_search
ber_scanf fmt ({miiiib) ber:
>>> dnPrettyNormal: <dc=horvitznewspapers,dc=net>
=> ldap_bv2dn(dc=horvitznewspapers,dc=net,0)
ldap_err2string
<= ldap_bv2dn(dc=horvitznewspapers,dc=net)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(dc=horvitznewspapers,dc=net)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(dc=horvitznewspapers,dc=net)=0 Success
<<< dnPrettyNormal: <dc=horvitznewspapers,dc=net>, <dc=horvitznewspapers,dc=net>
ber_scanf fmt ({mm}) ber:
ber_scanf fmt ({M}}) ber:
==> limits_get: conn=0 op=1 dn="[anonymous]"
=> bdb_search
bdb_dn2entry("dc=horvitznewspapers,dc=net")
=> bdb_dn2id( "dc=horvitznewspapers,dc=net" )
<= bdb_dn2id: got id=0x00000001
send_ldap_result: conn=0 op=1 p=3
send_ldap_response: msgid=2 tag=101 err=32
ber_flush: 14 bytes to sd 12
connection_get(12): got connid=0
connection_read(12): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 5 contents:
ber_get_next
ber_get_next on fd 12 failed errno=0 (Undefined error: 0)
connection_read(12): input error=-2 id=0, closing.
connection_closing: readying conn=0 sd=12 for close
connection_close: deferring conn=0 sd=12
do_unbind
connection_resched: attempting closing conn=0 sd=12
connection_close: conn=0 sd=12
For what it's worth, I *can* query running ldapsearch *and* postfix's
postmap -q.
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users