Home Home
  login

Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




SVN integration with Windows Authentication

install
admin
source-control

we've set everything up to do svn integration. When we are in forms auth mode, everything works great, checkins, updates, etc. When I switch over to windows auth and attempt the same I get a 'method requires authentication' error.

Gemini is running on 1 server in the domain and SVN is on a 2nd server in the domain.

settings are:

        <setting name="GeminiUsername" serializeAs="String">
            <value>mydomain\xxxxjavxxx</value>
        </setting>
        <setting name="GeminiPassword" serializeAs="String">
            <value>xMyPasswordGoesHerex</value>
        </setting>

Gemini is running Win 2008 IIS7. SVN is the same.

Joe Vivona
· 1
Joe Vivona
Replies (7)
helpful
0
not helpful

Did you set use windows authentication to true? Also, set the password to blank. Please make sure that you have disabled anonymous access in IIS for the Gemini site.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Mark - I have set the winauth parameter to true. I've tried with the password populated and blank, same result. Just reset everything again and all I get is this message:

Commit blocked by pre-commit hook (exit code -532459699) with output: Unhandled Exception: CounterSoft.Gemini.Commons.Rest.GeminiRestException: Method requires authentication

I have confirmed I can log in via my browser to gemini as the correct user.


Joe Vivona
· 1
Joe Vivona
helpful
0
not helpful
ANSWER

Did you check if anonymous access is diabled in IIS for the Gemini site?

Also, the SVN service will need to run under a domain account that is allowed to "see" Gemini.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

I get the first part - it's set. But then 2nd part

we run VisualSVN here. And the SVN service is running as a domain account. this domain account DOES NOT have a corresponding account in Gemini, but the user in the add-on app.config DOES. are you saying I need to have the user the SVN server is running as also have an account inside of Gemini?


Joe Vivona
· 1
Joe Vivona
helpful
1
not helpful

Sorry, is anonymous access enabled or disabled (should be disabled)?

The service account needs to have an account in Gemini as well.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Mark - that's pure genius, didn't know I had to create a corresponding user for the SVN service inside of Gemini.

The final piece was I had to give the SVN service user security to add comments/links to the items inside of each project ( or is this becuase I am using this same user in the app.config?).


Joe Vivona
· 1
Joe Vivona
helpful
0
not helpful

It's because its the same user... Glad you made it work!


Mark Wing
· 9108
Mark Wing