[Date Prev][Date Next] [Chronological] [Thread] [Top]

Question about ColdFusion MX6.1 and OpenLDAP 2.1.23



Hi:

I'm running the latest openldap release 2.1.23 on Redhat Linux 9 (compiled
from source).

I'm trying to get the CFLDAP tag in ColdFusion MX 6.1 on Linux to talk to
openLDAP to do a query.

At this point, I'm just trying to get *anything* back from the query:

<cfldap
server="ldap.mydomain.com"
action="Query"
name="userAuth"
username="cn=LDAPMgr"
password="my LDAP password"
start=""
scope="SUBTREE"
attributes="*"
>

It bombs with an error in ColdFusion saying:

Error Occurred While Processing Request

Inappropriate authentication

I attached the loglevel 4095 output below that I get from openldap logging
that I turned on.

Does anyone have any clues on things I can check to see what the problem
might be? No firewalls are in the way, etc.  I tried unencrypting the LDAP
password rootpw and just put it in plain text in the slapd.conf and I get
the same thing.

I know LDAP is working because I've got CourierIMAP talking to it, I just
can't get ColdFusion to talk.  I think there must be some magic cookie
handshake I am supposed to be doing?

Thanks,
Chris

Oct 24 09:28:16 email2 slapd[29525]: daemon: activity on 1 descriptors
Oct 24 09:28:16 email2 slapd[29525]: daemon: new connection on 10
Oct 24 09:28:16 email2 slapd[29525]: conn=10 fd=10 ACCEPT from
IP=192.168.100.12:32842 (IP=0.0.0.0:389)
Oct 24 09:28:16 email2 slapd[29525]: daemon: added 10r
Oct 24 09:28:16 email2 slapd[29525]: daemon: activity on:
Oct 24 09:28:16 email2 slapd[29525]:
Oct 24 09:28:16 email2 slapd[29525]: daemon: select: listen=6
active_threads=0 tvp=NULL
Oct 24 09:28:16 email2 slapd[29525]: daemon: activity on 1 descriptors
Oct 24 09:28:16 email2 slapd[29525]: daemon: activity on:
Oct 24 09:28:16 email2 slapd[29525]:  10r
Oct 24 09:28:16 email2 slapd[29525]:
Oct 24 09:28:16 email2 slapd[29525]: daemon: read activity on 10
Oct 24 09:28:16 email2 slapd[29525]: connection_get(10)
Oct 24 09:28:16 email2 slapd[29525]: connection_get(10): got connid=10
Oct 24 09:28:16 email2 slapd[29525]: connection_read(10): checking for input
on id=10 
Oct 24 09:28:16 email2 slapd[29525]: ber_get_next on fd 10 failed errno=11
(Resource temporarily unavailable)
Oct 24 09:28:16 email2 slapd[29525]: do_bind
Oct 24 09:28:16 email2 slapd[29525]: >>> dnPrettyNormal: <cn=LDAPMgr>
Oct 24 09:28:16 email2 slapd[29525]: <<< dnPrettyNormal: <cn=LDAPMgr>,
<cn=ldapmgr> 
Oct 24 09:28:16 email2 slapd[29525]: do_bind: version=3 dn="cn=LDAPMgr"
method=128 
Oct 24 09:28:16 email2 slapd[29525]: conn=10 op=0 BIND dn="cn=LDAPMgr"
method=128 
Oct 24 09:28:16 email2 slapd[29525]: send_ldap_result: conn=10 op=0 p=3
Oct 24 09:28:16 email2 slapd[29525]: send_ldap_result: err=49 matched=""
text="" 
Oct 24 09:28:16 email2 slapd[29525]: send_ldap_response: msgid=1 tag=97
err=49 
Oct 24 09:28:16 email2 slapd[29525]: conn=10 op=0 RESULT tag=97 err=49 text=
Oct 24 09:28:16 email2 slapd[29525]: daemon: select: listen=6
active_threads=1 tvp=NULL
Oct 24 09:28:16 email2 slapd[29525]: daemon: activity on 1 descriptors
Oct 24 09:28:16 email2 slapd[29525]: daemon: activity on:
Oct 24 09:28:16 email2 slapd[29525]:  10r
Oct 24 09:28:16 email2 slapd[29525]:
Oct 24 09:28:16 email2 slapd[29525]: daemon: read activity on 10
Oct 24 09:28:16 email2 slapd[29525]: connection_get(10)
Oct 24 09:28:16 email2 slapd[29525]: connection_get(10): got connid=10
Oct 24 09:28:16 email2 slapd[29525]: connection_read(10): checking for input
on id=10 
Oct 24 09:28:16 email2 slapd[29525]: ber_get_next on fd 10 failed errno=0
(Success) 
Oct 24 09:28:16 email2 slapd[29525]: connection_read(10): input error=-2
id=10, closing. 
Oct 24 09:28:16 email2 slapd[29525]: connection_closing: readying conn=10
sd=10 for close 
Oct 24 09:28:16 email2 slapd[29525]: connection_close: conn=10 sd=10
Oct 24 09:28:16 email2 slapd[29525]: daemon: removing 10
Oct 24 09:28:16 email2 slapd[29525]: conn=10 fd=10 closed
Oct 24 09:28:16 email2 slapd[29525]: daemon: select: listen=6
active_threads=0 tvp=NULL
Oct 24 09:28:16 email2 slapd[29525]: daemon: activity on 1 descriptors
Oct 24 09:28:16 email2 slapd[29525]: daemon: select: listen=6
active_threads=0 tvp=NULL