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=F6CAD377-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

Reply via email to