locked
Active Directory or WindowsSAM support for TimeTracker starter kit RRS feed

  • Question

  • User1485238302 posted

    I believe the earlier version of TT starter kit used to support active directory as UserAccoutStore. I downloaded the latest version and it has been stripped down to just Forms based authentication. Why is that? The remnants of that support are still there in the new version but no support. I can see the following which is of no use:

    <!-- Define the location of the user account 
     0 = WindowsSAM
     1 = ActiveDirectory
     2 = None
    -->
    <add key="UserAccountSource" value="WindowsSAM" />
    Can someone please tell me what all will be required to make it support Active Directory or if the support is still available, how can I get it.
    PS: Please do not post on how to enable Active Directory authentication instead of Forms Authencation in Web.config file. 
    It will take more than that as many tables in SQL Server are related with UserIds (GUID).
    Thanks,
    Max 

     

    Monday, September 29, 2008 11:32 AM

All replies

  • User555306248 posted

    Hey read through this short article about active directory membership provider:

    http://blogs.msdn.com/gduthie/archive/2005/08/17/452905.aspx

    There you see several entries for the web.config file. Just switch them with you <membership> section you will see. That should be enough update your web.config file of timetracker. 

    http://www.15seconds.com/issue/020730.htm

    http://forums.asp.net/t/1263125.aspx

    http://forums.asp.net/t/1105724.aspx

    Monday, September 29, 2008 11:27 PM
  • User1485238302 posted

    Thanks for your reponse Chetan and I really appreciate it. Please see the PS section of my post. I know how to use Active Directory as an authentication store. If you have gone thru the TT starter kit, you will know that it's not as simple as changing the web.config to make it work. There are a number of stored procedures working on several tables that use UserID (a GUID) which is generated when the users are created in ASPNETDB. When the authenticaion store changes to Active Directory, these stored procedures and table relations won't work. 

    Tuesday, September 30, 2008 8:11 AM
  • User555306248 posted

    ASP.NET 2.0 ships with built-in role manager providers that work against SQL Express, SQL Server, and Active Directory (which can also be used against ADAM stores)

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

    Tuesday, September 30, 2008 11:31 PM
  • User1485238302 posted

    ASP.NET 2.0 ships with built-in role manager providers that work against SQL Express, SQL Server, and Active Directory (which can also be used against ADAM stores)

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

    Did you read what I posted?

    If you have gone thru the TT starter kit, you will know that it's not as simple as changing the web.config to make it work. There are a number of stored procedures working on several tables that use UserID (a GUID) which is generated when the users are created in ASPNETDB. When the authenticaion store changes to Active Directory, these stored procedures and table relations won't work

    Wednesday, October 1, 2008 8:05 AM
  • User555306248 posted

    Yes I read the post

    What I am tryting to say is have to tried what I provided to you

    Thursday, October 2, 2008 11:24 PM
  • User1485238302 posted

    Yes I read the post

    What I am tryting to say is have to tried what I provided to you

    We are going in circles. All the links that you posted show how to use Active Directory with ASP.NET. I have no problems using Active Directory with ASP.NET. What I am looking for is what all to change in the application code, stored procedures and tables to make it all work. 

    And a quick question:

    Have you seen the ASP.NET TimeTracker Starter kit, I mean at the code and database level?

    Friday, October 3, 2008 8:44 AM
  • User555306248 posted

    Yes, I have seen TTS at code & DB level

    But I never tried with ACtive Directory, I want to ask one question what kind of error you are getting while runnig it, as you know how to use Active Directory with ASP.NET

    Sunday, October 5, 2008 11:19 PM
  • User1485238302 posted

    I am not getting any error. I am not at an implementation level right now. I know how to implement Active Directory authentication. I am only talking about the design. The application for now uses ASPNETDB in SQL Server as an authentication store. What that means is that it uses the user data (specifically GUID) to apply roles, maintain all the timeentries, projects etc. The front end sends the logged in user name which is then used to pull the guid from the table and then used in all other stored proecdures and tables specific to the TT application.

    Now when I will be using AD, the authentication store will change and obviously the ASPNETDB tables that were being used in the application specific stored procedures cannot be used. I would have to change all the stored procedures to not use GUID and possibly use just the user name sent from the front end.

    What I am looking for is that if someone has already done this, or if the older version is available that used AD as authentication store, what were the steps taken and where all the change is required. Since there are different layes involved here, I want to be sure the code doesn't break when users are using it.

    Monday, October 6, 2008 8:44 AM
  • User555306248 posted

    I will search and post it

    Monday, October 6, 2008 11:28 PM
  • User1485238302 posted

    Thanks a lot.

    Tuesday, October 7, 2008 8:01 AM
  • User555306248 posted

    Look this thread if it helps you

    http://forums.asp.net/t/1105724.aspx

    Tuesday, October 7, 2008 11:27 PM
  • User555306248 posted

    Any updates on this

    Tuesday, November 18, 2008 10:21 PM
  • User1485238302 posted

    Not yet.

    Wednesday, November 19, 2008 8:14 AM
  • User555306248 posted

    Ok, Please update the thread when u find some new research on it.

    Wednesday, November 19, 2008 10:27 PM
  • User1485238302 posted

    Ok, Please update the thread when u find some new research on it.

    Well...I am sure I won't find anything new on it. I am a bit busy with my other projects and have to get back to this when I have time. I am pretty sure I can make all the changes and make it work. When I do that, I will update this thread on how to do it.

    Thursday, November 20, 2008 8:14 AM
  • User555306248 posted

    Thanks a lot for updating information

    Thursday, November 20, 2008 10:41 PM