Hmm...I'm still new at this LDAP thingy, only read a few pages of the
RFC. Are you sure of the ou and o objects are in your LDAP directory?
Are you trying to connect as a user with user name and password? If
so, the username field gets filled in with the dn from the LDAP.
Viel Glucke
-----
Douglas Knudsen
Leveraged Technologies Group
Alltel AIS
678-351-6063
Got Linux? http://linuxmall.com
From: [EMAIL PROTECTED] AT INTERNET on 03/26/2001 04:19 PM
To: [EMAIL PROTECTED] AT INTERNET@CCMAIL
cc: (bcc: Douglas Knudsen/ATL/ALLTELCORP)
Subject: RE: CFLDAP
ok, i tried in 98 logged off the network using IP only to connect and
was
still able to connect annonymously to the exchange server. So it has
to be
something in my START code
-----Original Message-----
From: Douglas Knudsen [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 26, 2001 3:08 PM
To: CF-Server
Subject: RE: CFLDAP
IIRC, the 'object' in the error refers to an attribute. Try a real
simple query that shuould be guaranteed to work such as
FILTER="sn=your last name" and START
="ou=ORGANIZATION_UNIT,o=ORGANIZATION"
If your LDAP is set up to listen on a port other than CFs default,
include the port attribute. Better yet, include it anyways.
IE....
<CFLDAP
ACTION="QUERY"
NAME="lookup"
ATTRIBUTES="cn,"
SERVER="myservername"
port="389"
START="ou=ORGANIZATION_UNIT,o=ORGANIZATION"
FILTER="sn=your last name">
cheers!
-----
Douglas Knudsen
Leveraged Technologies Group
Alltel AIS
678-351-6063
Got Linux? http://linuxmall.com
From: [EMAIL PROTECTED] AT INTERNET on 03/26/2001 02:18 PM
To: [EMAIL PROTECTED] AT INTERNET@CCMAIL
cc: (bcc: Douglas Knudsen/ATL/ALLTELCORP)
Subject: RE: CFLDAP
I have added my original email. I KNOW that the server I am connecting
too
is setup fine for annonymous access. This is an exchange server I am
connecting too. The link below outlines how to connect via CFLDAP to
an
exchange box's LDAP directories. My main issue here is syntax I am
pretty
sure. Either that or I am missing something in the CF admin that needs
to be
setup.
ok, I have checked out an article on CFLDAP at
http://cfcomet.com/cfcomet/Exchange_Server/index.cfm?ArticleID=F6CAD37
7-4023
-4EB0-8C52340ED1DF4263 which is pretty straight forward. I can't seem
to get
this running. BTW searches done using IPSWITCH's LDAP tool are working
fine
so I know the server is setup to use annoymous access.
I know CF really well but am not very familiar with LDAP so Im sure my
mistake lies somewhere there. ideas??
My goal is to create a search for a that will show anyone who's name
is LIKE
#FORM.search# though when i use the following code I get the error
CFLDAP Can't connect to the LDAP server.
<CFLDAP
ACTION="QUERY"
ATTRIBUTES="cn,mail"
SERVER="myservername"
NAME="nihgal"
scope="subtree"
START="cn=COMMON_NAME,ou=ORGANIZATION_UNIT,o=ORGANIZATION"
filter="(cn=*#FORM.search#*)">
Oh, I tried to take the search out and just get everything like so and
got
this error:
CFLDAP No such object
<CFLDAP
ACTION="QUERY"
ATTRIBUTES="cn,mail"
SERVER="myservername"
NAME="nihgal"
scope="subtree"
START="cn=COMMON_NAME,ou=ORGANIZATION_UNIT,o=ORGANIZATION"
filter="objectClass=organizationalPerson">
thanks,
Curt
-----Original Message-----
From: Tariq Ahmed [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 26, 2001 1:04 PM
To: CF-Server
Subject: RE: CFLDAP
Have you tried using a username and password combination? Maybe
CFLDAP uses something that requires authentication. As ws_ping only
does
searching. CFLDAP can be used modify entries.
On Mon, 26 Mar 2001, Vonancken, Curt (NCI) wrote:
> Tariq, Unfortunately like I mentioned before I can connect with
ws_ping
pro
> pack fine which only connects annonymously. So i know it's not a
username
or
> pwd issue. thanks though....
>
> -----Original Message-----
> From: Tariq Ahmed [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 26, 2001 12:02 PM
> To: CF-Server
> Subject: Re: CFLDAP
>
>
> > CFLDAP Can't connect to the LDAP server.
> >
> > <CFLDAP
> > ACTION="QUERY"
> > ATTRIBUTES="cn,mail"
> > SERVER="myservername"
> > NAME="nihgal"
> > scope="subtree"
> > START="cn=COMMON_NAME,ou=ORGANIZATION_UNIT,o=ORGANIZATION"
> > filter="(cn=*#FORM.search#*)">
> >
>
>
> Curt. The error is "can't connect to the LDAP server" which
means
> the connection itself isn't happening. So you can't even begin to
try
> searching.
>
> My guess is that you aren't specifying the username and
password
> fields. Eg:
>
> username="cn=Directory Manager"
> password="whatever"
>
>
>
>
>
> Tariq Ahmed - [EMAIL PROTECTED] - ICQ
H:6308515/W:43686521
> TIBCO Finance Technology - Web Group - Senior Web Engineer
> Work: 650-461-3472 Cell: 650-799-6636 Fax: 650-461-3003
> 3375 Hillview Avenue. Palo Alto, CA. 94304.
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com