Link to home
Start Free TrialLog in
Avatar of whaleyk
whaleyk

asked on

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

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)
ASKER CERTIFIED SOLUTION
Avatar of Big Monty
Big Monty
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of whaleyk
whaleyk

ASKER

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.
Avatar of whaleyk

ASKER

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.