Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationexceptions: user puts a wrong login or a wrong passwordexceptions: user puts a wrong login or a wrong password
Previous
 
Next
New Post
11/6/2010 2:04 PM
 
Hello.

Active Directory Provider 05.00.02 - works ok,
but if user puts a wrong login or a wrong password I see exceptions at my event log and these exceptions are different.
Example:
If user puts a wrong login then
*******************
General Exception
AssemblyVersion: 5.5.1
UserID: -1
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: e725a713-524b-45b0-929e-162fea6fe013
InnerException: Object reference not set to an instance of an object.
FileName: \AuthenticationServices\ActiveDirectory\Providers\ADSIProvider\ADSIProvider.vb
FileLineNumber: 197
FileColumnNumber: 17
Method: DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider.GetUser
StackTrace:
Message: System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider.GetUser(String LoggedOnUserName, String LoggedOnPassword) in \AuthenticationServices\ActiveDirectory\Providers\ADSIProvider\ADSIProvider.vb:line 197
*******************

If user puts a wrong password then
*******************
General Exception
AssemblyVersion: 5.5.1
UserID: -1
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: b2b4c741-6b73-45e6-aed9-0c03e07b783d
InnerException: Logon failure: unknown user name or bad password.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.DirectoryServices.DirectoryEntry.Bind
StackTrace:
Message: System.Runtime.InteropServices.COMException (0x8007052E): Logon failure: unknown user name or bad password.  at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) at System.DirectoryServices.DirectoryEntry.Bind() at System.DirectoryServices.DirectoryEntry.get_NativeObject() at DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider.IsAuthenticated(String Path, String UserName, String Password) in \AuthenticationServices\ActiveDirectory\Providers\ADSIProvider\ADSIProvider.vb:line 103
********************

Is it possible to turn off these exceptions ?

Thanks.
 
New Post
11/6/2010 4:23 PM
 
Could you log it in the issue tracker (http://dnnauthad.codeplex.com) and I'll look at it the next time I work on the provider.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationexceptions: user puts a wrong login or a wrong passwordexceptions: user puts a wrong login or a wrong password


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out