[Bug 3163] Authenticated binds against Active Directory do not succeed

Exim Bugzilla via Exim-dev <[email protected]>
Newsgroups gmane.mail.exim.devel
Message-ID <[email protected]/>
https://bugs.exim.org/show_bug.cgi?id=3163

--- Comment #2 from [email protected] ---
1: It fails with an unexpected disconnect2.

2: Here's the debug output:
50146 Evaluating advertise_condition for login login athenticator
50146 login authenticator server_condition:
50146   $auth1 = svc_dirsync
50146   $auth2 = REDACTED
50146   $1 = svc_dirsync
50146   $2 = REDACTED
50146   search_open: ldapdn "NULL"
50146   search_find: file="NULL"
50146    
key="user="CN=svc_domainjoin,OU=SVCAccounts,OU=ITS,OU=Organizations,DC=ad,DC=example,DC=com"
pass="ALSO_REDACTED" 
ldaps://auth.example.com/OU=Service%20Accounts,DC=ad,DC=example,DC=com?dn?sub?(uid=svc_dirsync)"
partial=-1 affix=NULL starflags=0 opts=NULL
50146   LRU list:
50146     :/etc/exim/dropped_helo_names
50146     End
50146   internal_search_find: file="NULL"
50146     type=ldapdn
key="user="CN=svc_domainjoin,OU=SVCAccounts,OU=ITS,OU=Organizations,DC=ad,DC=example,DC=com"
pass="ALSO_REDACTED" 
ldaps://auth.example.com/OU=Service%20Accounts,DC=ad,DC=example,DC=com?dn?sub?(uid=svc_dirsync)"
opts=NULL
50146   database lookup required for
user="CN=svc_domainjoin,OU=SVCAccounts,OU=ITS,OU=Organizations,DC=ad,DC=example,DC=com"
pass="ALSO_REDACTED" 
ldaps://auth.example.com/OU=Service%20Accounts,DC=ad,DC=example,DC=com?dn?sub?(uid=svc_dirsync)
50146                                (tainted, quoted:ldap)
50146   LDAP parameters:
user=CN=svc_domainjoin,OU=SVCAccounts,OU=ITS,OU=Organizations,DC=ad,DC=example,DC=com
pass=ALSO_REDACTED size=0 time=0 connect=0 dereference=0 referrals=on
50146   perform_ldap_search: ldapdn URL =
"ldaps://auth.example.com/OU=Service%20Accounts,DC=ad,DC=example,DC=com?dn?sub?(uid=svc_dirsync)"
server=NULL port=0 sizelimit=0 timelimit=0 tcplimit=0
50146   after ldap_url_parse: host=auth.example.com port=636
50146   ldap_initialize with URL ldaps://auth.example.com:636/
50146   initialized for LDAP (v3) server auth.example.com:636
50146   LDAP_OPT_X_TLS_HARD set due to ldaps:// URI
50146   binding with
user=CN=svc_domainjoin,OU=SVCAccounts,OU=ITS,OU=Organizations,DC=ad,DC=example,DC=com
password=ALSO_REDACTED
50146   Start search
50146   search ended by ldap_result yielding 101
50146   ldap_parse_result: 0
50146   ldap_parse_result yielded 0: Success
50146   LDAP search: no results
50146   creating new cache entry
50146   lookup failed
50146  LDAP parameters: user= pass=REDACTED size=0 time=0 connect=0
dereference=0 referrals=on
50146  perform_ldap_search: ldapauth URL = "ldaps://auth.example.com/ "
server=NULL port=0 sizelimit=0 timelimit=0 tcplimit=0
50146  after ldap_url_parse: host=auth.example.com port=636
50146  re-using cached connection to LDAP server auth.example.com:636
50146  re-binding with user= password=REDACTED
50146  Bind succeeded: ldapauth returns OK
50146 expanded string: true
50146 LOG: lost_incoming_connection MAIN
50146   unexpected disconnection while reading SMTP command from localhost
(remote) [::1] D=38s
50146 search_tidyup called
50146 unbind LDAP connection to auth.example.com:636
50146 >>>>>>>>>>>>>>>> Exim pid=50146 (daemon-accept) terminating with rc=1
>>>>>>>>>>>>>>>>
44196 child 50146 ended: status=0x100
44196   normal exit, 1
44196 0 SMTP accept processes now running
44196 Listening...

3: Yes.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.