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 ForumsAuthenticationAuthenticationnot automatic login, but okay going to windowssigninnot automatic login, but okay going to windowssignin
Previous
 
Next
New Post
11/18/2008 9:00 AM
 

jeff wrote
 

Sorry to hijack the post, but I'm having the same problem. When someone navigates to Http://server/dotnetnuke it doesn't auto log them in, but when they go to http://server/dotnetnuke/desktopmodules/authenicationservices/activedirectory/windowslogin.aspx it works fine.

The is uncommented. The IP addresses are added to the autologin section. The site has been added to the intranet zone. I'm using IE7 if that matters. Anything else I can try?

There are two lines that list "Authentication" in them, make sure you get the right one.  I keep confusing the two myself...

 
New Post
11/19/2008 9:10 AM
 

Hey Dan, I have the following line uncommented. <add name="Authentication" type="DotNetNuke.Authentication.ActiveDirectory.HttpModules.AuthenticationModule, DotNetNuke.Authentication.ActiveDirectory" />

I guess I should also tell you that I'm in a mixed mode active directory, does that matter? Anything else I can try?

 
New Post
11/20/2008 2:30 PM
 

Is your website showing up as an "Intranet" or "Trusted" site?

 
New Post
11/24/2008 2:37 PM
 

I don't mean to thread hijack either, but I am having the same exact problem as the other two posters in this tread (hopefully the three of us can come up with commonalities between us).  As far as the last question, mine shows up as "Local Intranet" and has been added to the Intranet security zone.  As the other posters have stated, I have uncommented out the authentication line in the web.config, made changes in IIS, and IE.  


Could it be something with the Auto-login IP address range?  I have tried both doing a huge block of IPs, my exact IP, and just leaving it blank.  Does anyone have any suggestions at all?  Any help or ideas would be greatly appreciated.

As a possible work around (if we can't figure out what is exactly wrong), is there anyway to force the login page to WindowsSignin.aspx instead of the normal login form?  Then if we set the home page to not be accessable to non-registered users it would kick you out to the WindowsSigning page.

 

 
New Post
12/7/2008 6:29 PM
 

I struggled with the same issue for way too many hours. In the end, the only way that I got it to work was to write my own code, which is below. It works perfectly now. If anyone knows of a better way to automatically login someone to the site without asking the user to click on a link to "windowsSignin.aspx" please let us know.

Paste this code in your global.asax.vb file and recompile your solution:

Private Sub Global_EndRequest(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.EndRequest
            Dim ps As DotNetNuke.Entities.Portals.PortalSettings = DirectCast(Context.Items("PortalSettings"), DotNetNuke.Entities.Portals.PortalSettings)
            If ps IsNot Nothing Then
                Dim tbinf As DotNetNuke.Entities.Tabs.TabInfo = ps.ActiveTab
                Dim mUser As DotNetNuke.Entities.Users.UserInfo = DotNetNuke.Entities.Users.UserController.GetCurrentUserInfo
                If mUser.UserID < 0 And _
                    InStr(Request.Url.OriginalString.ToLower, "ctl=logoff") < 1 And _
                    tbinf.TabName <> "Login" Then
                    Dim sCurrentPage As String = Mid(Request.PhysicalPath.ToLower, InStrRev(Request.PhysicalPath, "\") + 1)
                    If sCurrentPage <> "windowsSignin.aspx" Then                       
                        Response.Redirect("http://" & ps.PortalAlias.HTTPAlias & "/desktopmodules/authenticationservices/activedirectory/windowsSignin.aspx")
                    End If
                End If
            End If
        End Sub

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationnot automatic login, but okay going to windowssigninnot automatic login, but okay going to windowssignin


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