It's not my server, we only have access to it.  I believe it is not a windows 
server, more than likely it is running on a UNIX server.  Could be Netscape.  I 
work for a large organization, so we have access to it, but have no control 
over it.  Neither are we privy to any specs.  :-S

>Yes, we need to know which ldap server.  If it's Windows Active
>Directory, you don't need to run two queries.  You only need to pass the
>username/password to the cfldap tag.  Windows, by default, allows any
>authenticated user to query the directory.  If the query works, you have
>a valid user.  If the query fails, you don't.
>
>For Windows AD, the username should be formatted as one of:
>"[EMAIL PROTECTED]" or "domain\username"
>
>Other ldap servers may work differently and that is probably why
>Macromedia's docs say to run two queries.
>
>M!ke 
>
>-----Original Message-----
>From: Douglas Knudsen [mailto:[EMAIL PROTECTED] 
>Sent: Tuesday, May 10, 2005 7:34 PM
>To: CF-Talk
>Subject: Re: LDAP Authentication
>
>In my experience, typically you run two LDAP queries for authentication.
>In the first you use the UID filed, depends on your LDAP server, to get
>teh users DN. THe second query you use this DN and the users password,
>if this binds you authed. What LDAP server are you using?
> DK
>
> On 5/10/05, David Critchley <[EMAIL PROTECTED]> wrote: 
>> 
>> I was wondering if anyone knows anything about LDAP authentication. 
>> Examples from macromedia on this subject are very sketchy and I cant 
>> seem to get mine to work properly. I can query the LDAP server, but I 
>> am unable to authenticate. Here is my tag info:
>> <CFLDAP server="ldapserver" port="389" action="QUERY" name="userauth" 
>> attributes="uid" start="ou=employees,o=server.com <http://server.com>"
>
>> maxrows="1">
>> 
>>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206445
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to