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 ForumsAuthenticationAuthenticationSome users cannot loginSome users cannot login
Previous
 
Next
New Post
7/28/2009 5:23 PM
 

Using AD Provider 5.0.2, some of my users cannot login.  The strange thing here is that I can take the same password and enter it into OWA and I login just fine.  Thus far, I'm not seeing any pattern.  Here is the error from the SiteLog:

AssemblyVersion: 5.1.0
PortalID: 7
UserID: -1
UserName:
ActiveTabID: 530
ActiveTabName: Login
RawURL: /Login/tabid/530/Default.aspx?returnurl=%2fdefault.aspx
AbsoluteURL: /Default.aspx
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 202cc6c5-3766-4644-96a5-62386b05f92b
InnerException: Logon failure: unknown user name or bad password.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.DirectoryServices.DirectoryEntry.Bind
StackTrace:
Message: System.DirectoryServices.DirectoryServicesCOMException (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)

I'm not sure if the following error is related, but it seemed pertinent.  I'm also getting a lot of "access denied" on the cache:

AssemblyVersion: 5.1.0
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL:
AbsoluteURL:
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 0610e4c7-4a4f-4a30-8f21-513497d14c10
InnerException: Access to the path 'C:\inetpub\wwwroot\Portals\_default\Cache\17E5D845D1EEE4E30D964507075B2E04.resources' is denied.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.IO.__Error.WinIOError
StackTrace:
Message: System.UnauthorizedAccessException: Access to the path 'C:\inetpub\wwwroot\Portals\_default\Cache\17E5D845D1EEE4E30D964507075B2E04.resources' is denied.at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)at System.IO.StreamWriter..ctor(String path, Boolean append)at System.IO.File.CreateText(String path)at DotNetNuke.Services.Cache.FileBasedCachingProvider.FBCachingProvider.CreateCacheFile(String FileName, String CacheKey)

 
New Post
7/28/2009 5:57 PM
 

You might try upgrading to 5.1.1
Thanks...



Alex Shirley


 
New Post
7/28/2009 6:09 PM
 

Can you give me some background on how you setup the AD provider. An IO error means that it's trying to write to the disk but can't because the user account being used doesn't have permission.

 
New Post
7/29/2009 7:43 AM
 

Mike,

Here'es the setup:

    <!-- forms or Windows authentication -->
    <authentication mode="forms">
      <forms name=".DOTNETNUKE" protection="All" timeout="60" cookieless="UseCookies" />
    </authentication>
    <!-- <authentication mode="Windows"></authentication> -->
    <identity impersonate="true" userName="DOMAIN\user" password="MySuperSecretPassword" />
     ....
    <authentication defaultProvider="ADSIAuthenticationProvider">
      <providers>
        <clear />
        <add name="ADSIAuthenticationProvider" type="DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider, DotNetNuke.Authentication.ActiveDirectory" providerPath="~\Providers\AuthenticationProviders\ADSIProvider\" />
      </providers>
    </authentication>
 

The webserver is running Server 2008, the application is using the Classic .NET AppPool under the NetworkService identity.  "DOMAIN\user" has full permissions to the inetpub folder.

Thanks!

 
New Post
7/29/2009 8:05 AM
 

Right after posting this, I changed the AppPool identity to "DOMAIN\user" and that seemed to fix the caching problem, which allowed me to troubleshoot with a little more accuracy.

Here's what I'm getting for one of the users who is having an issue:

When I attempt to login as the user using the correct password, I get "Login Failed, remember that Passwords are case sensitive" and no errors in Log Viewer.  When I attempt to login as the user using the incorrect password, I get "Login Failed, remember that Passwords are case sensitive" and the "Logon failure: unknown user name or bad password" error from my first post.

Since yesterday, approximately 20 new users have logged in and had their username created.  So far, this seems to be affecting 5 users.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationSome users cannot loginSome users cannot login


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