Solved

ColdFusion 7 and cfladp

Posted on 2006-11-27
4
273 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
The purpose of this video is to demonstrate how to connect a WordPress website to Google Analytics. 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 :…
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…

920 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

12 Experts available now in Live!

Get 1:1 Help Now