Windows Authentication with DNA2?

May 31, 2011 at 1:31 PM

hi. I was wondering if it is possible to have windows authentication with automatic user creation on first sign-on?. I am planning to implement an intranet website using DNA2 and windows authentication is a must. Users from specified AD groups, when first trying to access the site, should automatically create accounts and enable personalization of their content, similar to Sharepoint. User Roles should be adjusted by AD groups the user is member of at the time of each session initialization.

I would like to know if there is anyway to implement. This will be a extremely useful feature, if available.

thanks

Jun 5, 2011 at 10:17 AM

i think you should use ADHelper Class to complete this function.

Jun 5, 2011 at 11:52 AM
Edison_liang2006 wrote:

i think you should use ADHelper Class to complete this function.


Is it possible to have a simple sample or code guidance please.. thanks

Jun 5, 2011 at 12:04 PM
Edited Jun 5, 2011 at 12:05 PM
bpasham wrote:
Edison_liang2006 wrote:

i think you should use ADHelper Class to complete this function.


Is it possible to have a simple sample or code guidance please.. thanks

Please check below hyper link:

http://sourceforge.net/projects/adhelper/

Jun 5, 2011 at 12:07 PM
Edison_liang2006 wrote:
bpasham wrote:
Edison_liang2006 wrote:

i think you should use ADHelper Class to complete this function.


Is it possible to have a simple sample or code guidance please.. thanks

Please check below hyper link:

http://sourceforge.net/projects/adhelper/


or this one:

http://adhelper.codeplex.com/

Coordinator
Jun 6, 2011 at 1:03 PM
Sure! SSO is one feature of the DNA2. You can read the following article on MSDN : How To: Use Forms Authentication with Active Directory in ASP.NET 2.0
Jun 10, 2011 at 11:42 PM
Edited Jun 11, 2011 at 12:03 AM
csharp2002 wrote:
Sure! SSO is one feature of the DNA2. You can read the following article on MSDN : How To: Use Forms Authentication with Active Directory in ASP.NET 2.0

Thank You. This is very helpful. However this is intended for the extranet access. In Intranet scenarios, preferred authentication method Windows which, the server will decide between NTLM to Negotiate. Browser will show the authentication dialog, if the current user is not authorized to access the website or could not locate identity.

Also one of the problem with the using the default authentication methods with DNA is that DNA is not honoring authenticated sessions, instead going for it's own cookie. I tried to turn on Windows Authentication and turn off anonymous access, it still asked for DNA authentication. I am missing something.