Solved

ColdFusion 7 and cfladp

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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
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 manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…

690 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