Survey Forums

HomeHomeSurvey Project ...Survey Project ...Using Survey & ...Using Survey & ...Using Integrated Windows AuthenticationUsing Integrated Windows Authentication
Previous
 
Next
New Post
7/4/2012 1:59 PM
 

Hello,

I'm trying to deploy Survey.

I followed the instructions and it's installed and I can login with admin/admin and create a survey.

I want users to login automatically with the user they logged onto Windows with, like our other web apps do. I couldn't find any instructions on how to do that.
Can you provide some guidance on how to do that?

 
New Post
7/5/2012 11:15 PM
 
Hello,

Can you please check the post at:

http://www.surveyproject.org/Forums/tabid/107/forumid/2/threadid/160/scope/posts/Default.aspx

Hope this will help you find the answer.

 
New Post
7/8/2012 1:06 PM
 

Hi,

I saw that link but I don't know what is the security context "add in" that is mentioned in that thread.

Is it something I need to download?

What do I need to change in IIS, and what do I need to change in web.config? You mention a part of the web.config to change but don't say what it should be changed to.

--------

I've tried creating a user with my Windows username, then changing the web.config to use Windows authentication.

When I open the app it takes me to the login screen. If I log in with the password I chose when creating the user in Survey, it takes me to AccessDenied.aspx and says "Unauthorized. Access denied due to invalid credentials.".
If I log in with another password, it stays on the login page and says "Invalid Login. Please try again.".

The desired behaviour would be to skip the login screen, so users won't need to type their credentials.

 

Thank you for helping.

 
New Post
7/8/2012 2:24 PM
 
Hello,

Security Add in: check menu option Surveys/ Security/ .. Insert security etc. You can ignore this, it does not apply to what you are looking for.

Otherwise I'm afraid there is no easy answer/ solution.

In web.config there is an option:

<!--
            You can run nsurvey in a single user mode
            and let the default FormUserProvider create
            a "dummy" admin user on the fly. If enabled user management
            and access right checking features will be disabled.
        -->
        <add key="FormUserProviderSingleMode" value="false" />

Unfortunately the SP 2.0 changes have not been adjusted to this setting yet.

In short you would need to do some rewriting /programming based on the information you find at the post previously mentioned.
If anyone has any other suggestions or ideas they're invited to share them here.



 
Previous
 
Next
HomeHomeSurvey Project ...Survey Project ...Using Survey & ...Using Survey & ...Using Integrated Windows AuthenticationUsing Integrated Windows Authentication