Solved

ColdFusion 7 and cfladp

Posted on 2006-11-27
4
275 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

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…
What You Need to Know when Searching for a Webhost Provider
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…

749 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