Solved

ColdFusion 7 and cfladp

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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
The purpose of this video is to demonstrate how to create a Printer Friendly PDF on a WordPress Page. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome Screenshot” Google Chrome Extension, and SmallPDF.com Log…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…

776 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