Wrox Programmer Forums
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 19th, 2004, 02:40 AM
Authorized User
 
Join Date: Apr 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to sara_1981
Default help me in active directory

Hello
I have a problem to check my user with Specified groupin active directory with asp.net (vb.net) could anyone help me and let me know what can I do, I could check my users with all active directory, but I want to check just with specified group. and with this work I authenticate them.
any suggestion would be welcome

Regards
Sara
__________________
Regards
Sara
 
Old June 20th, 2004, 09:08 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hello,

What problems are you having? The ASPNET (or impersonated account) must have access to the ASDI domain.

Brian
 
Old June 21st, 2004, 09:14 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

You authenticate against AD using A UN/PW combination.
You can get a list of groups for any user in the AD.

You might want to check out the article "Building Secure ASP.NET Application: Authentication, Authorization, and Secure Communication" on the MSDN site at http://msdn.microsoft.com/library/en...secnetht02.asp


Hal Levy
Web Developer, PDI Inc.

NOT a Wiley/Wrox Employee
 
Old June 22nd, 2004, 07:36 AM
Authorized User
 
Join Date: Apr 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to sara_1981
Default

Hello
well, my problem is I couldn't check my user with specified group in active directory after my user enter his username and password in a login page. for instance just some of users whom are in "TEST" group must have permission to some pages but my code just check them with all active directory and every user exist in any place even out of this TEST group, will be authorized to view these pages.
well, about that c# code I should test it and see what's its response.
thanks

Quote:
quote:Originally posted by bmains
 Hello,

What problems are you having? The ASPNET (or impersonated account) must have access to the ASDI domain.

Brian

Regards
Sara
 
Old June 22nd, 2004, 10:38 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

http://www.codeproject.com/aspnet/adsi1.asphttp://www.codeproject.com/aspnet/adsi2.asp
There is much if u serach on "Active directory" at http://www.codeproject.com/

HTH.

Always:),
Hovik Melkomian.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Active Directory TCSE305 Windows Server 1 November 22nd, 2006 01:26 AM
About Active Directory apalmero VB How-To 1 April 8th, 2005 04:06 PM
Active Directory - help! bubmachine General .NET 2 August 3rd, 2004 04:45 PM
About Active Directory apalmero VS.NET 2002/2003 1 November 9th, 2003 01:06 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.