Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



LDAP user authentication error with VBScript from ASP

Active Directory


Reply
 
Thread Tools Search this Thread
  #1  
Old 31-08-2007
Member
 
Join Date: Jan 2005
Posts: 54
LDAP user authentication error with VBScript from ASP

I am using a ASP page that allows different users to access via AD. But somehow the code stopped working. There is a error on the screen. The error number is 8007054b. I went on the web to find out relative information on the same but not able to find anything related to that. I am having one of Asp application that works fine for the same process. I am not able to find the actual cause of failure. I had posted the code below.
Code:
strDomainUser = strDomain & "\" & strUserId
Set objRootDSE = GetObject("LDAP://rootDSE")
strADSPath = objRootDSE.Get("rootDomainNamingContext")
Set objDSObj = GetObject("LDAP:")
Set objAuth = objDSObj.OpenDSObject("LDAP://" & strADSPath,
strDomainUser, strPassword, 1)

Reply With Quote
  #2  
Old 02-09-2007
Member
 
Join Date: Nov 2004
Posts: 36
The error mostly means that your system is not able to contact the domain. this happens when there is very low information available in ADSI. You will need to bind the directory on fist call and then see it is working for not. ADSI here tries to pick up the domain and then it many not popup any issue.
Reply With Quote
  #3  
Old 04-01-2014
Member
 
Join Date: Jun 2011
Posts: 451
Re: LDAP user authentication error with VBScript from ASP

You will have to find out the actual error message first. On the basis of that only it it possible to find a proper solution. Like Authentication Failed message it means the login details which you are trying are not proper. In the same way some get Server Unavailable message which is different. In this you have to checkout your dns information. You have to verify that it is proper or not. So first try to locate what is the actual error you are getting and on that basis only it is possible to troubleshoot the issue.
Reply With Quote
  #4  
Old 04-01-2014
Member
 
Join Date: Jul 2011
Posts: 263
Re: LDAP user authentication error with VBScript from ASP

Things you can do is checkout LDAP configuration parameters. There is a log file which has all the detail information you require to troubleshoot the problem. So you have to see that again. That will give you more information. Some internal file or service is unstable due to which you are getting error. After making changes you can run Test LDAP. This tool is nice to find out whether it is working proper or not. You can also use LDAP Explorer Tool for more advance benefits.
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "LDAP user authentication error with VBScript from ASP"
Thread Thread Starter Forum Replies Last Post
LDAP simple bind authentication using port 389 Ben English Active Directory 8 14-05-2012 06:28 PM
LDAP Password authentication not working on Mac OS X Lion SANKALPA Operating Systems 3 14-10-2011 02:08 PM
Problem in binding the user in LDAP using Spring LDAP deepti.agrawal Software Development 1 25-04-2011 03:26 AM
LDAP authentication ac1876 Networking & Security 1 08-10-2010 04:05 AM
LDAP Integration and Password Authentication GreatThinker Software Development 5 19-07-2010 09:27 AM


All times are GMT +5.5. The time now is 01:58 AM.