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 ForumsAuthenticationAuthenticationRemove/Hide the domain prefix from logon?Remove/Hide the domain prefix from logon?
Previous
 
Next
New Post
4/21/2008 12:53 PM
 

I think you're doing too much too quickly.

In your web.config, you shouldn't have to do anything to it once you enable AD Authentication on your website. The AD provider still uses Forms Authentication and not Windows Authentication. Have you looked at the user's guide on the project download page? http://www.dotnetnuke.com/Products/Development/Forge/Authentication/Downloads/tabid/852/Default.aspx

My advice at this point would be to revert your web.config back to how it was before you started making changes and go from there.

Same with the login script above (did you change domain.com in the script to match domain?). Let's get you logging into the site as Domain\Username first before you add the script so that your users don't have to enter their domain name.

 
New Post
4/24/2008 10:08 AM
 

Hello I am using DNN 4.07 and I am unable to get this to work. I get an error The ID 'txtUsername' is already used by another control. I changed the domain to match out system and ideas?

 
New Post
4/24/2008 10:55 AM
 

Did you edit the first line he posted :

<td colspan="2" align="center"><asp:textbox id="txtUsername" columns="9" width="130" cssclass="NormalTextBox" runat="server" /></td>

or did you just add it? Do a search of the txtUsername and make sure that only one line is in there?

 
New Post
4/24/2008 11:28 AM
 

Mike & Tom..   I took your advice and started over.   Working slowly, and step by step from the instructions I was able to get "auto logon" to work with AD.

Using the provided script form logons still returns an error:  (yes I did change the domain name for all lines)
E:\eDirectory\PROD\DesktopModules\AuthenticationServices\ActiveDirectory\Login.ascx(27): error BC30201: Expression expected.

What is curious about the whole forms logon setup is that I grabbed the old script from the DNN 3.x signin.ascx file and it works (see below).  So I have to ask, is the script Tom provided correct, is there something missing from it?    -- Thanks in advance.

 

 

 

<script runat="server">
 
Sub change(sender As Object, e As EventArgs)

if txtUsername.Text="admin" then
 txtUsername.Text="admin"

elseif txtUsername.Text="host" then
 txtUsername.Text="host"

else txtUsername.Text="domain\" & txtUsername.Text

end if

end sub
 
</script>

 
New Post
4/24/2008 12:39 PM
 

Yes I edited that line and I tried again and now I am getting the following error:

A critical error has occurred.
D:\Inetpub\wwwroot\public\DesktopModules\AuthenticationServices\ActiveDirectory\Login.ascx(27): error BC30201: Expression expected.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationRemove/Hide the domain prefix from logon?Remove/Hide the domain prefix from logon?


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