Solved

AD Authentication to my web application from ASP.Net 2.0 Login Control

Posted on 2009-06-27
6
337 Views
Last Modified: 2012-05-07
Dear All,

  I'm designing a page in Visual Developer 2005 Express Edition. In this one we are placing one Login Control. Through this login control I need to connect AD and depending on the authentication I need to develop some more logic. Please suggest me which way I need to proceed.

Thanks,
Rao.
0
Comment
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
6 Comments
 
LVL 21

Assisted Solution

by:Tapan Pattanaik
Tapan Pattanaik earned 75 total points
ID: 24727386
hi PillalamarriVenkates&,

                             Check these links.

How To: Use Forms Authentication with Active Directory in ASP.NET 2.0:

http://msdn.microsoft.com/en-us/library/ms998360.aspx

How To: Use Forms Authentication with SQL Server in ASP.NET 2.0:

http://msdn.microsoft.com/en-us/library/ms998317.aspx

Walkthrough: Creating a Web Site with Membership and User Login:

http://msdn.microsoft.com/en-us/library/879kf95c.aspx

----------------------

ASP.NET 2.0's Membership, Roles, and Profile :

http://www.4guysfromrolla.com/articles/060706-1.aspx

User registration and authentication for an ASP.NET 2.0 webs:

http://www.beansoftware.com/ASP.NET-Tutorials/Authorization-Authentication-Registration.aspx



0
 
LVL 15

Assisted Solution

by:jinal
jinal earned 50 total points
ID: 24727594
Hello ,
By default SqlMemberShipProvider and SqlRoleProvider used.

In order to use LDAP use

http://sourceforge.net/projects/dotnetldap

or any other class for LDAPmembership provider.


0
 
LVL 13

Author Comment

by:PillalamarriVenkateswaraRao
ID: 24743147
Hai jinal,
Any download or code is there in that URL ?
Anyway Guys,
I used the below URL to connect AD from my normal web application. But I don't get any luck.
http://it.toolbox.com/blogs/coding-dotnet/using-active-directory-to-authenticate-7966
Please check it once.
Thanks.
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 13

Author Comment

by:PillalamarriVenkateswaraRao
ID: 24782749
Hello guys,
The below blog had given Basic idea on how to do Windows Authentication and how to get the username after logging is completed.
Thanks to scott.
http://weblogs.asp.net/scottgu/archive/2006/07/12/Recipe_3A00_-Enabling-Windows-Authentication-within-an-Intranet-ASP.NET-Web-application.aspx
-------------------------------------------
I'm moving to one more step that, At present I had given Without any Sign In Button.
What I want to do is, I want to implement a SharePoint in Built Sign In Control In my web application. How Can I do this One ?
In Detailed,
I want to place a Sing -In Button in my web page, So that a person click that sign in button then he need to authenticate with Windows.  And I need an option that Sign with another User.
Please provide me the guidelines on this one.
Thanks.
0
 
LVL 13

Accepted Solution

by:
PillalamarriVenkateswaraRao earned 0 total points
ID: 24821589
After my long research I concluded that We can't design Sing In/Sing Out/ Sign In as different User Functionality in our normal web applications.
And I'm very thankful to you guys for guidelines and URLs.
Thanks.
0
 
LVL 13

Author Comment

by:PillalamarriVenkateswaraRao
ID: 24821607
After my long research I concluded that We can't design Sing In/Sing Out/ Sign In as different User Functionality in our normal web applications with Windows Authentication.
And I'm very thankful to you guys for guidelines and URLs.

Thanks.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question