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 ForumsAuthenticationAuthenticationAD Password Not AcceptedAD Password Not Accepted
Previous
 
Next
New Post
10/18/2007 4:27 PM
 

Did you get a pass on everything when you setup Authentication? Is this the main portal or a child portal? I'm asking because the blank username almost sounds like a couple of things that I've seen (though I've never seen where it wouldn't allow you to manually login).

You may have to use impersonation to pull all the info from the AD (especially if you got any failures when you setup the authentication). In your web.config look for the line < identity impersonate="true" /> in a commented out section. Uncomment that line only and add the following userName="domain\username" password="password" to it so that it looks like this <identity impersonate="true" userName="domain\username" password="password" />. That user can be any generic domain account it doesn't have to have any admin privledges. The account you use though has to be givin the same rights on your DNN install as NETWORK SERVICE/ASPNET does.

If it's a child portal, there's a bug that's always existed in the provider and that I'm currently trying to fix it (without much luck so far).

 
New Post
10/19/2007 3:23 PM
 

The authentication setup was perfect. Although it did say it found 2 domains.

 I modified the web.config file and the authentication in there now looks like this:

<!--

Forms or Windows authentication
<authentication mode="Forms">
<forms name=".DOTNETNUKE" protection="All" timeout="60" cookieless="UseCookies" />
</authentication>
-->
<!---->
<
identity impersonate="true" userName="DOMAIN\user.name" password="*********" />
<
authentication mode="Windows">
</
authentication>

After trying to bring up the home page of my DNN site, I got this error:

"Exception Details: System.IO.FileLoadException: Could not load file or assembly 'CountryListBox' or one of its dependencies. Access is denied."

I'm thinking this is due to what you were talking about with the impersonation account having the same rights as NETWORK SERVICE/ASPNET. But I could not figure out what you meant by DNN install. I guessed what you meant was the "DNN" Virtual Directory in IIS, yet on the permissions there is no NETWORK SERVICE/ASPNET account.

 

Side Note: After playing around with the old setup (pre impersonation), I have figured out who is logged in when the username is blank. When I login as Host and remain inactive for awhile, instead of logging me out due to inactivity, it switches me to my AD account. I figured out which account was logged in by uploading a file in the repository module on a test page. There I could see my AD username and domain as the one who uploaded the file.

So it seems that I can get my AD account to authenticate, but only when I log in as Host and let my login timeout.

 
New Post
10/19/2007 5:03 PM
 

The permissions need to be set on the actual directories themselves. If you go onto your webserver and go to where your DNN install, right-click on the parent directory (ie:c:\inetpub\dotnetnuke), go to the properties and click on it. Click on the Security tab and you should see NETWORK SERVICE and/or ASPNET. That's where you need to add the user you entered in the web.config.

 
New Post
10/22/2007 1:38 PM
 

Excellent. It now logs the user in automatically. Though, A co-worker of mine logged in, logged out, closed the window, opened a new browser, loaded the DNN site, and now it will not log him in again.

 

Also I noticed the User table in the database is not being populated right. The FirstName field is populated with the username (firstname.lastname), the LastName field is populated with the domain, and the DisplayName is blank.

Thanks for your help on this Mike. I feel I'm just around the corner from launching this DNN site now :) 

 
New Post
10/22/2007 4:28 PM
 

Are those fields filled in when you look at a user's properties in the AD?

EDIT: Oops I hit reply sooner than I should have.

User's clicking logoff is a bad thing as it screws up the auto-login because of the cookies that get written. They'll have to delete the cookie to the site so that it'll log them back in again.

Also, on the incomplete user profiles (info incorrect in the database compared to what it should be). Are these accounts possibly from before things were working correctly (autologin)? You may have to delete the accounts as the only thing that's updated on an existing account is the password if it's changed and the security roles if synchronizing is turned on.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationAD Password Not AcceptedAD Password Not Accepted


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