?
Solved

How to query active directory groups with CFLDAP?

Posted on 2006-05-18
3
Medium Priority
?
334 Views
Last Modified: 2013-12-24
This is my code so far. I have found no documentation on how to start the query at a certain group. NOT an organization unit.
This is where I need to query TCC --> CORP ---> Schmidt ---> Schmidt.inet ---> schgg_inet_admins  (schgg_inet_admins) is the only GROUP. Everything else is an organization unit.

      <cfldap server="server.ip"
            action = "query"
             name = "auth"
            attributes = "cn,mail,l,title"
             start = "ou=Schmidt.inet, ou=schmidt, dc=corp, dc=tcc, dc=inet"
            scope = "subtree"
             username = "#username#"
             password = "#password#"
             sort = "cn ASC">
0
Comment
Question by:upandrun3
1 Comment
 
LVL 9

Accepted Solution

by:
73Spyder earned 1000 total points
ID: 16710714
This is what I have used in the past

<cfldap action="QUERY"
name="members"
attributes="member"
start="dc=xxx,dc=org"
filter="(&(objectclass=group)(name=#groupname#))"
server="server"
username="username"
password="password"
separator=";">
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question