Solved

ColdFusion 7 and cfladp

Posted on 2006-11-27
4
272 Views
Last Modified: 2013-12-24
I am trying to create our company phone directory from our active directory. In order to access the active directory does the username and password have to be the domain administrator account? If so, is there any tips or tricks around that to satisfy the security issue that IT has brought up.

<cfldap action="query"
    name="results"
    start="cn=users & groups,dc=xxxx,dc=com"
    filter="(&(objectclass=user))"
   attributes="displayName,title,department,PhysicalOfficeDeliveryName,telephoneNumber,mail"
server="xxxx.xxx.com"
username="#username#"
password="#password#"
sort="displayName ASC">
0
Comment
Question by:asaworker
  • 2
4 Comments
 
LVL 20

Expert Comment

by:trailblazzyr55
ID: 18022316
try running the cfldap without the username and password first, normally it's required if you have the attribute secure = "CFSSL_BASIC"
0
 

Author Comment

by:asaworker
ID: 18022742
That didn't work, I have to have a domain username/password
0
 
LVL 12

Accepted Solution

by:
mmc98dl1 earned 500 total points
ID: 18024282
make sure your username is in the format domain\username and it doesnt have to be a domain admin account.

check out http://www.sixfive.co.uk/news/?nid=137 for some sample code
0
 

Author Comment

by:asaworker
ID: 18025066
thanks mmc98dl1, this is exactly what i'm looking for. I was hoping that I didn't have to be a super admin to do this. I'll let you know how it works.
0

Featured Post

Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

Join & Write a Comment

One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now