[Last Call] Learn how to a build a cloud-first strategyRegister Now


Modifying Data Through LDAP

Posted on 2005-04-13
Medium Priority
Last Modified: 2013-12-24
I have developed a searchable directory of employees with the added functionality for users to update their own contact information.  However, it will only work by using an administrator's username and password in the ColdFusion code.  Otherwise it will appear as if no records come up or it will error out if trying to actually modify their own information.  How can I get around this problem?  Thanks.
Question by:mnmorency
  • 4
  • 2
LVL 35

Accepted Solution

mrichmon earned 1000 total points
ID: 13775322
Well that depends.

If it is non-authenticated LDAP - how do you tell that a user is modifying "their" data?  They could be modifying any data.

If it is authenticated then you need to supply a username and password to be able to do the updates.  You can't get around this (and shouldn't be able to since it is "authenticated")

Author Comment

ID: 13775387
I would think there should be a way because it would know your record depending on the username you were logged in as.  For example, you can edit your information via exchange, so why not through an LDAP ColdFusion connection that is reading the same data source?

Author Comment

ID: 13775399
PS - I can have them enter their username and password and it will authenticate based on that.  However, they can't pull any records nor can they edit their own.
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

LVL 35

Expert Comment

ID: 13776329
" it would know your record depending on the username you were logged in as"

In this case it is authenticated ldap you are looking at.  In that case you will have to add a username and password and have those people have acceess to authenticated ldap.

Author Comment

ID: 13818708
They have access because it doesn't give an error message when they connect to ldap through their own username and password.  The only problem is that they cannot search the directory or update their own information.  I was assuming this was most likely something to do with permissions or security but have limited knowledge of active directory so I was not sure how to solve the problem.

Author Comment

ID: 13819209
Never mind - I figured it out.  I went into the users' security settings and added write priviledges to SELF.  Thanks for your help anyways.

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
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 Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
Suggested Courses
Course of the Month18 days, 6 hours left to enroll

830 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