Active directory group permissions

Change Page: < 12 | Showing page 2 of 2, messages 31 to 47 of 47
Author Message
jsereda
  • Total Posts : 6
  • Reward points : 220
  • Joined: Aug 13 '09
Re:Active directory group permissions - Fri. Aug 14, '09 12:48 PM
0
Yes, when I typean invalid name, then the page works fine and it tells me that the user does not exist. 

Here is the new error after commenting out the line. 
If you want detailed compiler output let me know. 

Server Error in '/ASPPlayground' Application.
--------------------------------------------------------------------------------
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30481: 'Class' statement must end with a matching 'End Class'.
Source Error:
 
Line 7: 
Line 8: 
Line 9:  Partial Class App_Templates_Classic_UC_Login
Line 10:     Inherits ASPPG.BaseClasses.CommonUCBaseClass
Line 11:     Private ReturnUrl As String
 
Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\aspplayground\c66aa182\8f54071d\App_Web_login.ascx.34e12d6b.0wh3svu0.1.vb    Line: 9

Samuel
  • Total Posts : 11786
  • Reward points : 168350
  • Joined: May 23 '01
Re:Active directory group permissions - Fri. Aug 14, '09 12:51 PM
0
[This post was marked as helpful]
It looks like a compilation error.... you probably commented out too many codes.

The only thing you want to comment out is

If mu IsNot Nothing Then mu.UnlockUser()


by adding a ' in front like:

'If mu IsNot Nothing Then mu.UnlockUser()


ASPPlayground.NET
~ see our Version 4 plans here


jsereda
  • Total Posts : 6
  • Reward points : 220
  • Joined: Aug 13 '09
Re:Active directory group permissions - Fri. Aug 14, '09 1:21 PM
0
Thanks, that worked.  I put an # instead of a '. 
Like I said, this is new stuff for me. 
But again, thanks for taking the time to help me with this. 
Will commenting that part out, have any effect on anything that I should be worried about? 

Samuel
  • Total Posts : 11786
  • Reward points : 168350
  • Joined: May 23 '01
Re:Active directory group permissions - Fri. Aug 14, '09 2:42 PM
0
It is ok. Thanks for your patience as well.

And no, it is not going to affect anything with AD membership provider. Maybe you can put it back as:

If mu IsNot Nothing AndAlso mu.IsLockedOut Then mu.UnlockUser()


See if it produces any error. This might be a better choice then commenting out the entire line.

2 questions for you: Is your SAM store on the same machine as the forum? Are you using IP address or domain name for your LDAP string?

ASPPlayground.NET
~ see our Version 4 plans here


Samuel
  • Total Posts : 11786
  • Reward points : 168350
  • Joined: May 23 '01
Re:Active directory group permissions - Tue. Nov 10, '09 1:42 PM
0
[This post was marked as helpful]
If you wish to use Windows Authentication without AD provider, the solution is to:
  1. Configured IIS for Windows Integrated Authentication
  2. Leave ASPPlayground configured with the default configuration. That is Forms based authentication and using the SQL Server DB as the membership store. 
    1. Make sure you don't use “No Action – Must Register First” option under ASPPlayground Admin Control Panel, User Features 1/2, Guest Permission
  3. Add members to ASPPlayground so that the membership table for the forum is populated (simply use the Fast Member Import feature in the AdminCP). The Login value must match the users Active Directory (AD) account name.
  4. Add a small section of code to the Default.aspx.vb file as follows:
     
         Protected Sub Page_PreInit(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreInit      
             Integer.TryParse(Request.QueryString("forumid"), RequestedForumID)      
             If Not User.Identity.IsAuthenticated Then      
                 Dim strUsrNm As String      
     
                 'Build a string containing the AD account name of the Windows Authenticated user      
                 strUsrNm = Request.ServerVariables("LOGON_USER")      
                 strUsrNm = Mid$(strUsrNm, InStr(1, strUsrNm, "\") + 1)      
                 'Create the authentication ticket and add it to the cookie collection      
                 FormsAuthentication.SetAuthCookie(strUsrNm, False)      
                 'refresh the current page so the it displays “Welcome <username>”      
                 Response.Redirect(Me.Request.Url.ToString)      
     
             End If      
         End Sub
 
ASPPlayground.NET
~ see our Version 4 plans here


Guest
Re:Active directory group permissions - Fri. Feb 5, '10 11:57 AM
0
Is it possible to have users that are logged into AD on there PC enter the forum as a guest and then manually log into the forum against AD if they choose? We really would like to have anonymous posting as the default and the option to log in against AD and post with credentials.

Samuel
  • Total Posts : 11786
  • Reward points : 168350
  • Joined: May 23 '01
Re:Active directory group permissions - Fri. Feb 5, '10 1:27 PM
0
[This post was marked as helpful]
If you would like to enable anonymous access + AD integration, you will need to configure AD Membership provider:

http://www.aspplayground..t/forum/fb.ashx?m=402243

And then you can configure a few forums that support Guest posting.
ASPPlayground.NET
~ see our Version 4 plans here


Guest
Re:Active directory group permissions - Mon. Feb 8, '10 8:51 AM
0
Samuel


If you would like to enable anonymous access + AD integration, you will need to configure AD Membership provider:



And then you can configure a few forums that support Guest posting.

So your saying that when one of my users connects to a forum that is set up for guest access, they can post anonymously or have the option to sign in against AD at that point? I just want to verify that the user will browse all pages as a guest by default and then have the option to click a "login button" some where on the page and authenticate to AD if the  wish to post as themselves.
 
TIA

Samuel
  • Total Posts : 11786
  • Reward points : 168350
  • Joined: May 23 '01
Re:Active directory group permissions - Mon. Feb 8, '10 10:40 AM
0
Hi,

Yes, when you set up Ad Membership provider in web.config, the software can authenticate against your AD store and automatically create a user record in the forum db. By default users will be seen as guests unless users log in through the forum's login page (which connects to AD to verify user identity).

So yes, what you are saying is correct.
ASPPlayground.NET
~ see our Version 4 plans here


Guest
Re:Active directory group permissions - Mon. Feb 8, '10 12:15 PM
0
Samuel


Hi,

Yes, when you set up Ad Membership provider in web.config, the software can authenticate against your AD store and automatically create a user record in the forum db. By default users will be seen as guests unless users log in through the forum's login page (which connects to AD to verify user identity).

So yes, what you are saying is correct.


I new to .asp. All of the forum I have set up in the past are.php based. Do you supply support for setting up the AD scenario that was supplied. I have read throw the support posts on setting it up but I am not clear on the entire process. I would need some assistance setting up the authentication. Is the something you provide?
 
Thanks.

Samuel
  • Total Posts : 11786
  • Reward points : 168350
  • Joined: May 23 '01
Re:Active directory group permissions - Mon. Feb 8, '10 3:46 PM
0
[This post was marked as helpful]
Hi,

I can only provide limited support for Ad integration. AD integration is provided with our software's native support of the membership provider interface (by default, ASP.NET ships with 2 membership provider, SQL Membership Provider and AD Membership Provider).

To enable AD integration, the only things you need to know / do are:
  1. The Admin username and password that has the privilege to read the AD store;
  2. Configure the software's web.config file with essential info so that the software can read the AD store:
    http://blogs.msdn.com/gdu...2005/08/17/452905.aspx (beginning step 4)
There is nothing else you need to do to achieve AD integration. Most problems people have are due to insufficient privilege with their admin account.
ASPPlayground.NET
~ see our Version 4 plans here


Guest
Re:Active directory group permissions - Tue. Feb 9, '10 8:07 AM
0
Samuel


Hi,

I can only provide limited support for Ad integration. AD integration is provided with our software's native support of the membership provider interface (by default, ASP.NET ships with 2 membership provider, SQL Membership Provider and AD Membership Provider).

To enable AD integration, the only things you need to know / do are:
  1. The Admin username and password that has the privilege to read the AD store;
  2. Configure the software's web.config file with essential info so that the software can read the AD store:
    (beginning step 4)
There is nothing else you need to do to achieve AD integration. Most problems people have are due to insufficient privilege with their admin account.


Sounds great. Is it possible to diasble features such as PM and gallery? This will be a corporate bulletin board and I have no need for some of the features and would like to disable them.

Samuel
  • Total Posts : 11786
  • Reward points : 168350
  • Joined: May 23 '01
Re:Active directory group permissions - Tue. Feb 9, '10 9:08 AM
0
Yes, you can easily disable the Gallery as there is a setting in the Gallery section of the Admin CP to turn off all galleries.

For PM, you can set the "Max # of PM allowed" to 0 in the admin CP -> Site Wide Options -> User Features 1/2 to disable the ability to send / read PM.
ASPPlayground.NET
~ see our Version 4 plans here


Guest
Re:Active directory group permissions - Wed. Feb 10, '10 11:14 AM
0
We are definatley interested in purchasing this forum package. We would like to test it out first...Do you supply and trial or timed license that we can try first?

Samuel
  • Total Posts : 11786
  • Reward points : 168350
  • Joined: May 23 '01
Re:Active directory group permissions - Wed. Feb 10, '10 12:08 PM
ASPPlayground.NET
~ see our Version 4 plans here


Guest
Re:Active directory group permissions - Thu. Feb 11, '10 12:24 PM
0
How do I regiter my email.... I tried filling out the form but I dont have a Share number?

Guest
Re:Active directory group permissions - Thu. Feb 11, '10 12:27 PM
0
Nevermind, I got it.

Change Page: < 12 | Showing page 2 of 2, messages 31 to 47 of 47