Solved

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

Posted on 2011-03-01
7
356 Views
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.

dim
strConnectString = "LDAP://MyServer/" & path
Set oUser = GetObject(strConnectString)
0
Comment
Question by:whaleyk
7 Comments
 
LVL 32

Accepted Solution

by:
Big Monty earned 125 total points
ID: 35009988
0
 
LVL 15

Assisted Solution

by:pateljitu
pateljitu earned 125 total points
ID: 35009992
0
 
LVL 28

Assisted Solution

by:sammySeltzer
sammySeltzer earned 250 total points
ID: 35010003
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 28

Assisted Solution

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

http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/ASP/Q_21664412.html
0
 

Author Comment

by:whaleyk
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.
0
 

Author Closing Comment

by:whaleyk
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.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

929 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now