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 ForumsAuthenticationAuthenticationldapldap
Previous
 
Next
New Post
2/21/2007 8:06 AM
 
Also, if you're getting a Windows login box (and if you enter domain information and it works), that is most likely because IE (or whatever you are using) is not allowing your AD credentials to pass through.  Add the site as a trusted or Intranet site, or modify your settings to allow authentication to flow through.
 
New Post
2/21/2007 1:09 PM
 

It seems by my testing that mikeh is right and it is not possible to have autologin work in mixed mode.  I did however modifiy the httpmodule.authentication authenticationmodule.vb to test for local address prior to redirect

This is from 3.3.5 in the OnAuthenticateRequest sub.

                If (AuthenticationController.GetStatus(_portalSettings.PortalId) = AuthenticationStatus.Undefined) Then  'OrElse (blnWinLogon) Then
                    AuthenticationController.SetStatus(_portalSettings.PortalId, AuthenticationStatus.WinProcess)
                    Dim url As String
                    'mod check if local address*****************************************
                    'this allows for mixed mode with auto login
                    If Not InStr(Left(Request.ServerVariables("remote_addr"), 3), "11.") = 0 Then
                        If Request.ApplicationPath = "/" Then
                            url = "/Admin/Security/WindowsSignin.aspx?tabid=" & _portalSettings.ActiveTab.TabID.ToString
                        Else
                            url = Request.ApplicationPath & "/Admin/Security/WindowsSignin.aspx?tabid=" & _portalSettings.ActiveTab.TabID.ToString
                        End If
                        Response.Redirect(url)
                    ElseIf (Not AuthenticationController.GetStatus(_portalSettings.PortalId) = AuthenticationStatus.WinLogoff) AndAlso blnWinLogoff Then
                        Dim objAuthentication As New AuthenticationController
                        objAuthentication.AuthenticationLogoff()
                    ElseIf (AuthenticationController.GetStatus(_portalSettings.PortalId) = AuthenticationStatus.WinLogoff) AndAlso blnWinLogon Then ' has been logoff before
                        AuthenticationController.SetStatus(_portalSettings.PortalId, AuthenticationStatus.Undefined)
                        Response.Redirect(Request.RawUrl)
                    End If
                    'old dnn code
                    'If Request.ApplicationPath = "/" Then
                    '    url = "/Admin/Security/WindowsSignin.aspx?tabid=" & _portalSettings.ActiveTab.TabID.ToString
                    'Else
                    '    url = Request.ApplicationPath & "/Admin/Security/WindowsSignin.aspx?tabid=" & _portalSettings.ActiveTab.TabID.ToString
                    'End If
                    'Response.Redirect(url)

                    '***********************************************

 
New Post
2/21/2007 2:27 PM
 

That's pretty cool, it was one of the enhancements I was requesting in the next version.  Then, you could have mixed-mode with automatic authentication!  WooHoo!

 

 
New Post
2/23/2007 5:16 AM
 

So let me get this straight. If I do the following:

1) Enable Windows authentication in Admin > Authentication
2) Make the above edit to authenticationmodule.vb.

Then I will allow my intranet-users to automatically logon, if they add the site to the Trusted- or the Intranetzone. And I will still have the Logon-form? Or will I have the windows-popup-logon-box?

Thanks in advance

 
New Post
2/23/2007 3:53 PM
 
Re: ldap  Modified By steve conard  on 5/31/2007 8:10:42 AM

You must also remove anonymous access to windowssignin.aspx via IIS.  Using DNN 3.3.5 my Intranet users autologin and any remote addresses are presented with login link.  Network users can still use network authentication if they use their network credentials in the login fields.  I also highly suggest Stuarts AD fix.  http://www.dotnetnuke.com/DotNetNukeProjects/CoreActiveDirectory/Forums/tabid/912/forumid/89/threadid/73435/threadpage/21/scope/posts/Default.aspx 

Another key is at the end of this bit of instruction.  Did not function until added to trusted sites.
http://www.dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/89/threadid/53005/scope/posts/Default.aspx

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationldapldap


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