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 ForumsAuthenticationAuthenticationBetter way to log staff in than WindowsSignin.aspx? (Or registering AD accounts through DNN...)Better way to log staff in than WindowsSignin.aspx? (Or registering AD accounts through DNN...)
Previous
 
Next
New Post
3/4/2009 2:45 PM
 

Maybe I've still got something configured wrong in the webconfig or iis, but when you navigate directly to http://[domain]/DesktopModules/AuthenticationServices/ActiveDirectory/WindowsSignin.aspx should you see the DNN page's login screen or a Windows prompt?  (I get the windows box- and it does work to sign me in using DMN\Username.)

A summary of what we're trying to accomplish:

We've got AD Authentication working beautifully for an intranet section of our company web page.  I also used one of the scripts from one of the stickies here and added to the Login.ascx file to eliminate the need for the domain name in our logins. (The script adds it in automatically.)

Now we also had DNN Authentication disabled. This was done to make the login screen as simple as possible. (And trust me, if we had to train staff to remember to click the other login button, or to add a domain infront of their names, we'd be fielding calls and help tickets for months...)

That all worked great. Unfortunately we've got this one module handling our online job applications that requires users to register an account. It lets them keep their applications online, or sign back in to finish one that is partially completed.  It's also does a pretty spiffy job, but the two don't play well together.   Since it generates a DNN user, and I  have that authentication turned off, applicants can't sign back in.  But if I turn that mode back on, I get the two login buttons.

I figured the easiest fix would be to make a "staff" login button that would point directly to the WindowsSignin.  It brings up the Windows signin box, which would be fine, except that doesn't auto-fill the domain, and doesn't work without it. (If I could get the script working here, that'd be acceptable as well.)

 

Another possiblity that was brought up- if it was possible for DNN to register users to AD, we could do it that way too. We'd just set up a new group that's good for nothing but logging in to the web page and be done with it, no other changes needed.  I didn't see anything about that, though... (just a couple of modules that could edit AD users on the web page, but I don't think they'd do what we need here. )

Any ideas here?  Is there a "better" way to be doing this that I'm not seeing?

Thanks.

 

 

 
New Post
3/4/2009 5:51 PM
 

That pop-up you're seeing is generated by IIS so it has to have the credentials entered as Domain\Username. That's outside of the scope of DNN. If the website is in your Intranet/Trusted sites list then you won't get the IIS popup and you can have a link that points to the WindowsSignin.aspx page that will automatically log your intranet users in.

 
New Post
3/31/2009 10:43 AM
 

I guess I've got a question then...  when you click between the Standard and Windows login buttons, what is it doing? Would there be a way to separate those two functions into their own pages, or something I can tack onto the end of the URL to make it know which login mode to default to?

In the authentication settings, if I go in and enable both DNN and AD authentication, but check off the "Hide Login Controls" it'll get rid of those two buttons. Standard logins work, and Windows logins work if one adds the "domain/" infront of the username.  Which is closer, but now I've got to worry about getting staff to enter the domain again. (That login script that adds it automatically doesn't seem to work when I've got it set up like this, unless there was a way to tweak that.)

I may look in to the trusted site / autologin, but I'm not sure we could get that to work the way we've got this set up...

Thanks,

-Lamune

 

 
New Post
3/31/2009 12:18 PM
 

The normal login control is a wrapper that checks all of the enabled providers and presents them on the page so they're already two separate pages just called as one. Because the controls are depended on the wrapper there's no easy way to separate them out.

Becareful with hiding the login controls. If you get a new domain user who isn't in the DNN database (or with version 1.0.5 of the provider and above where passwords are scrambled) they won't be able to login even with the DOMAIN\username format as the Standard login only looks at the DNN database. The Windows login is the only login control that will check the AD. When you've got Hide Login Controls checked you are hiding the Windows Login control so none of it's code is ever called.

I'm not sure what you mean when you say you're not sure you can use the trusted site/autologin. It would be a pain to do it manually on every computer but Trusted Sites can be set via Group Policy and possibly through login scripts. I've never looked at doing it through the login script so I'm not sure what's involved.

 
New Post
3/31/2009 2:01 PM
 

[QUOTE]Mike Horton wrote

Becareful with hiding the login controls. If you get a new domain user who isn't in the DNN database (or with version 1.0.5 of the provider and above where passwords are scrambled) they won't be able to login even with the DOMAIN\username format as the Standard login only looks at the DNN database. The Windows login is the only login control that will check the AD. When you've got Hide Login Controls checked you are hiding the Windows Login control so none of it's code is ever called.[/quote]

Good to know.


I'm not sure what you mean when you say you're not sure you can use the trusted site/autologin.

I'm not sure either, now that I think about it some more.  Yeah, setting it up in the group policy isn't a problem.  I'm confusing myself thinking about how it would actually work in our environment. The autologin just uses the user already authenticated on the Windows machine, right?

(Now I'm talking to myself...)

We use a  handfull of shared mandatory profiles on about 3/4 of the staff workstations, with a couple oddballs mixed in. Managers use their own accounts.

We don't use assigned IPs (probably should, but we don't...) so I'd have to set a range that includes both the staff and public machines. But that'd be OK... whatever "users" gets logged in on the public terminals just won't be granted "staff" level access to the page.  Managers signing in on their own workstations would still be signing in with their own accounts, so they'd have all the higher security levels associated with them.  That doesn't help anyone needing to log in outside of the building, or at home, but I'm not sure how often that happens anyway...

(Ok, I'm done talking to myself now...)

I'll poke at this a bit longer. Maybe this is going to be the best way to go about it.

Thanks again.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationBetter way to log staff in than WindowsSignin.aspx? (Or registering AD accounts through DNN...)Better way to log staff in than WindowsSignin.aspx? (Or registering AD accounts through DNN...)


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