Updating LDAP with ASP (strConnectString = "LDAP://MyServer/" & path )

Posted on 2011-03-01
Medium Priority
Last Modified: 2012-05-11
How can I pass userID/password to this?  I'm working with a site that's "Windows Authenticated" (in the past it was "basic" so there wasn't a need to pass credentials.  However, users hitting the site without Windows Authenticated credentials are prompted for a username/pw.  These credentials are not available as they were with "basic" authentication, so I need to pass them along to the script below)    

Currently receiving an 80072020 error.  I'm a Coldfusion programmer with very little ASP knowledge so any help at all would be greatly appreciated.

strConnectString = "LDAP://MyServer/" & path
Set oUser = GetObject(strConnectString)
Question by:whaleyk
LVL 34

Accepted Solution

Big Monty earned 375 total points
ID: 35009988
LVL 15

Assisted Solution

pateljitu earned 375 total points
ID: 35009992
LVL 29

Assisted Solution

sammySeltzer earned 750 total points
ID: 35010003
Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

LVL 29

Assisted Solution

sammySeltzer earned 750 total points
ID: 35010020
Infact our own experts exchange community provided this solution:


Author Comment

ID: 35016960
Everyone, I'm so sorry I haven't responded back, especially since you were all so quick to provide potential solutions.  I've had to put this on the back burner for a couple of days, my apologies.  I'll return shortly.

Author Closing Comment

ID: 35843299
So sorry I never got back to you all.  I read each of the solutions and learned enough from them all to solve my issue. If I remember correctly, among other things, I had to change the IIS authentication in order to have the server credentials I needed.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
There is a wide range of advantages associated with the use of ASP.NET. This is why this programming framework is used to create excellent enterprise-class websites, technologies, and web applications.
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
Watch the video to learn how one can deal with PST file corruption issue with an outstanding Kernel for Outlook PST Repair Tool easily. Using this tool, non-technical users can swiftly perform the repair process to restore their essential data witho…

624 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