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 ForumsAuthenticationAuthenticationSame AD user in differ portalsSame AD user in differ portals
Previous
 
Next
New Post
10/15/2007 3:19 PM
 
Maybe there's a simple answer to this I'm just missing somewhere... here's the scenario.

I have multiple portals running in the same DNN install, version 4.6.2, and the latest Active Directory provider. Any Windows user account can view any portal, but I want to restrict which users can edit different portals. What happens is, as soon as a Windows account hits a portal for the first time, they are locked into the "Subscribers" group of that particular portal, and I can't manage the user outside of that portal.

I guess it's because DNN will only allow unique usernames, not matter what portal they hit...? Is there a way to over-ride this? This is going to really suck if I can't figure this out.

Thanks for the help in advance.

jon
 
New Post
10/16/2007 12:39 AM
 

I think I might be confused by your question but I'm going to try to answer it. This is going to handled the same regardless of the AD provider or just the regular DNN provider.

To manage a user you have to be logged into that particular portal. You can't manage a user's Portal A properties while you're visiting Portal B. So to give a user admin/edit rights on Portal A you have to be on Portal A, to give them rights on Portal B you have to be on Portal B. The subscriber's group has nothing to do with locking an account or restricting managing it.

As an example, I just created a child portal off my dev site. Logged into both sites with my AD user, logged off, and logged onto the parent site with the host account. I then went to the Users Accounts and selected Manage Roles for my AD account. I added the account to a role and then I typed in the URL for the child site and did the same to the AD account on there.

I'm not sure what you mean by DNN only allowing unique usernames. If all the user information is the same (which in an AD situation it will be) then only one user is added but the UsersPortals table will get an added entry (UserID, PortalID) to it.

I don't know if I've helped or confused the situation even more so any feedback is appreciated.

 
New Post
10/16/2007 1:37 AM
 

Hi Mecha,

If you go into your SQL server (I am using 2000 so I am assuming it will be the same for 2005) and open your DNN database then expand Tabels and go to "UserPortal" right click and open table/expand all rows.

You can now add people to multiple portals just add a line and use their same UserID but type in the other portal number.

 

USERID            PORTALID         USERPORTALID            CREATEDDATE            AUTHORISED

25                              0                                    ( THE REST ARE AUTO GENERATED)

25                              5                                    ( THE REST ARE AUTO GENERATED)

 

Hope this helps.

 

 
New Post
10/16/2007 8:01 AM
 

I'm not sure if it answered jon's question, but it answered part of my questions about this scenario!

One other question I had on this...  I won't be able to test it until next week, but how can use use the AD login with multiple portals in a mixed-mode environment?  I seem to remember someone saying that they copied an aspx file to the portals sub-folder...

 

 
New Post
10/16/2007 10:48 AM
 

You mean autologin Dan or manual? For manual I just logged in. I didn't test autologin but I think what others did prior to 4.6.2 was put the windowssignin.aspx in the portal folder. I'll test autologin tonight.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationSame AD user in differ portalsSame AD user in differ portals


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