Doug, I set it up like you mentioned and pointed it to ldap.bigfoot.com
since I know they are setup to accept annonymous access. It worked. Then I
tried my server. I got the error: CFLDAP No such object. Im guessing that
there is something wrong with the START attrib since I can search using
ws_ping_pro and can search using sn = lastname.
The only other thing I can think of is that the NT domain sees that a
validated user is using ws_ping_pro. I am going to try and load it on a PC
that is running 98 so I don't have to log into the network and give that a
shot.
any ideas???
Curt
-----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