Thanks to you both for setting me on the right path. I figured out what I 
needed to do, and I'm now able to authorize users depending on their OUs. I 
really appreciate the help!
Bonnie

> Hi:
> I'm having trouble getting CFLDAP to work with my Active Directory. 
> Here's what I have so far:
> 
> Server name: server.xxx.yyy.edu
> Active directory structure: 
> 
> xxx
  
> OU1 (organizational unit, not security group)
    
> User1
  
> OU2
    
> User2
> 
> I want to set up the CFLDAP tag so that it only authenticates users in 
> OU1 NOT anyone outside of OU1 (so User1 would authenticate, but User 2 
> would not). Here's my code:
> 
> <cfldap 
>       action="query" 
>       name="qryUser" 
>       start="ou=OU1,dc=xxx,dc=yyy,dc=edu"
>       scope="subtree" 
>       attributes="*" filter="ou=OU1"
        
> server="server.xxx.yyy.edu" 
>       port="389" 
>       username="xxx\#Trim(user1)#" 
>       password="user1password">
> 
> The authentication works, but it will authenticate users in OU2 as 
> well as OU1. 
> Please help! Thanks.
            


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300107
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to