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 ForumsAuthenticationAuthenticationIntranet first-time autologinIntranet first-time autologin
Previous
 
Next
New Post
6/10/2008 4:36 PM
 

So I have almost given up on the redirect-thing, and George's fix (almost) works fine for us, as we are in an Intranet-only environment:

George wrote

 The way I fixed it was to set the loginUrl attribute in the section to the path to the windowssignin.aspx page. Also, I set the section to not permit unauthenticated users. 

But how do I go about logging in as e.g. host-user now? When I click logout, it logs me right back in as my domain user..

 
New Post
6/13/2008 10:05 AM
 

Hello,

Same problem if I try to access my site from external  http ://XXXXX/xxxxxxx  (it's an example) I get this message

The page cannot be displayed


Explanation: There is a problem with the page you are trying to
reach and it cannot be displayed.

Try the foiiowing:
• Refresh page: Search for the page again by clicking the Refresh button. The timeout may have occurred due to
Internet congestion.
• Check speiiing: Check that you typed the Web page address correctly. The address may have been mistyped.
• Access from a lin k: If there s a link to the page you are looking for, try accessing the page from that link.


Technical Information (for support personnel)
• Error Code: 403 Forbidden. The server denied the specified Uniform aesource Locator (URL). Contact the server
administrator. (12202)

and URL 'http://XXXXXX/xxxxxxpus/DesktopModules/AuthenticationServices/ActiveDirectory/WindowsSignin.aspx?tabid=36 remains on screen

You try again with http://XXXXX/xxxxxxx and it works

In Internal access: you get windows pop-up the first time.

IIS server 2003 dnn 4.8.3 and Beta version of authentication AD

It s a vmware machine for test , it's quite easy.

Best regards Henri.

 
New Post
6/13/2008 6:33 PM
 

If you have <add name="authentication"..../> uncommented in the <httpModules> section of your web.config and in the Authentication Settings you haven't narrowed down the autologin IP ranges then the provider is going to try to automatically login any external user who hits the site (something that won't work) and you're going to get an error page like you did.

If the site isn't in the Intranet or Trusted Sites list in your Internet Options they're going to get the Windows Popup.

So, the solution is, either comment out <add name="Authentication".../> in your web.config so that windowssignin.aspx isn't hit (however, internal users will have to manually login to the site) or set an IP Range in the settings for the provider that matches internal IP address but not an IP address that external users hit the site with.

 
New Post
6/16/2008 7:22 AM
 

Hello Mike,

When you install a new portail DNN, and you will activate authentication AD, the autosignin is default set-up then it confuse me.

I comment  the two "add name="Authentication" type blabla lines and everything is working : internal (intranet) the home public page is accessible on the first time AND from external too.

It'is the only change I have made to achieve my goal.

Thanks a lot for your job and your disponibility and excuse me for my +/- english.

Henri . 

 
New Post
6/16/2008 12:53 PM
 

I had a whole long post typed out and the forum decided to through an error and not post it so here goes again:

Here's how the AD provider works.

When <add name="Authentication".../> is uncommented it calls an httpModule where a redirect to WindowsSignin.aspx is called. WindowsSignin.aspx tries to pull in the users credentials off their computer (if the site is in the Intranet Sites or Trusted Sites list in the Internet Options in the Control Panel of the client computer the client see nothing otherwise they see the IIS Popup asking for their credentials). However, if they're an external user an IIS error page is thrown because it can't pull that information from their computer. If the line is commented then this whole process is bypassed as if the provider wasn't installed.

In version 01.00.00 of the AD Provider and versions prior to that (when it was part of the core code) the only way around that problem was to comment out the line in the web.config which meant that everyone had to login manually. However a number of users (myself included) would put links to WindowsSignin.aspx so that internal users could just click on the link and they'd be logged in. Unfortunately I discovered that a lot of people don't bother reading so I was getting calls from external users asking why they were getting an error when they clicked the link that plainly stated to only follow the link if you were on a campus computer.

So for version 01.00.03 I added the Auto-Login textbox to the settings. In that textbox you can put a range of IP addresses (eg: 192.168.0.1 - 192.168.0.255) so that if the computer has an IP address that falls in that range (eg: 192.168.0.50) it will attempt to auto-login (follow the redirect to WindowsSignin.aspx) when <add name="Authentication".../> is uncommented. If the computer's IP was outside of the range (142.179.215.255) then the redirect to WindowsSignin.aspx is bypassed. The internal IPs on your network should be in the Private Network range of IP address (http://en.wikipedia.org/wiki/IP_address) and external users "should" be hitting your site with non-Private Network IP addresses. I put should in quotations because there may be a device on your network that redirects to your webserver so that it appears to be coming from an internal IP. If that's the case then you just make sure that IP isn't in your Auto-Login IP range (Your network guys should be able to help you out with this).

I hope this clears up any confusion for you. If not then post back and I'll try to answer your questions.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationIntranet first-time autologinIntranet first-time autologin


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