Rather than querying the Students group, query the user account.

The attribute you want is "memberOf".  It will give you a list of groups
to which the user belongs.

Then, search that list for "Students".

m!ke 

-----Original Message-----
From: Dan beauchemin [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 28, 2008 12:34 PM
To: CF-Talk
Subject: CFLDAP & Security groups

Hi - 

Trying to query a security group in Active Directoy to determine if a
person belongs to it. I am getting no results when I run the below code
- but I know they are a memember of the "Students" group.

Any ideas appreciated.

Dan B

<cfldap action="QUERY"
    name="auth2"
    attributes="samaccountname"
    start="CN=Students,OU=_Groups,OU=_Users,DC=xx,DC=xx"
    filter="samaccountname=dbeauchemin"  
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:300109
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