Once you get the full user context.  Do another query/or your first query, supply 
that(the full context) in the username field, and the password in the password field.  
CFldap does the rest.  If you get an error the username/password isn't right.  If 
nothing happens it was right and they have authenticated.

>>> [EMAIL PROTECTED] 03/23/01 09:50AM >>>


speaking of this, how does one 'authenticate'?  I'm having trouble
getting this to work.
Do I

<cfldap>  once anonymously to get the userid based on user inputed
info
then
<cfldap> again with userid and password supplied this time.  If
<cfldap> pulls back a record, then authentication happend, correct?
I'm told passwords are generally SHA1 hashed in LDAP directories, does
CFLDAP do the hashing?


-----
Douglas Knudsen
Leveraged Technologies Group
Alltel AIS
678-351-6063
Got Linux? http://linuxmall.com




From: [EMAIL PROTECTED] AT INTERNET on 03/23/2001 09:27 AM

To:   Douglas Knudsen/ATL/ALLTELCORP, [EMAIL PROTECTED] AT
      INTERNET@CCMAIL
cc:

Subject:  Re: Any LDAP Guru's here? Authentication Problem


Initally I would say no.  Point your cfldap to an ip of the ldap
server.  Will y
ou need to authenticate to both servers?  Neither tree can see each
other can th
ey?  If one of the servers can give you access to all the users
context thats al
l your should
need.  If you need to authenticate to both do the first query with
the first IP
do a user search then do the second query with the second server.
Once you fin
d the user context make sure you authenticate to the right ip.

>>> [EMAIL PROTECTED] 03/23/01 07:51AM >>>
quick question.
i want to use NDS & LDAP to authenticate ALL the users of our
intranet.
my problem that there are 2 servers.
both have the same tree name?

will this cause me problems.
if so is there a way around it?

any ideas would be great

-paul

Web Developer, NBBJ
Work:     [EMAIL PROTECTED]
    614 241-3534
fax:    614 485-5534

Home:     [EMAIL PROTECTED]
    614 449-1681

> icq:     47658358
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to