You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Qadeer <qa...@gmail.com> on 2007/07/19 15:22:12 UTC

SVN setup on Windows

Hi,

I have successfully installed SVN (version 1.4.4) and Apache (version 2.0.59)
on windows server 2003 following the steps listed at
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-serversetup.html#tsvn-serversetup-apache-4.
Everything works fine with basic authentication but I am having trouble with
SSPI authentication (I dont have a domain set up. I just want to use windows
authentication). I am using mod_auth_sspi (version 1.0.4) available from
http://sourceforge.net/project/showfiles.php?group_id=162518.

The problem I am having is when I browse to http://mydomain.com/svn using
either IE or Firefox I am prompted to enter a user name and password and the
message on the dialog box reads "Connecting to mydomain.com". If I enter the
correct username and password everything works fine but if I enter it wrong
the first time then I get a slightly different dialog box with a message
that says "The server mydomain.com at Subversion repositories requires a
username and password. Warning: This server is requesting that your username
and password be sent in an insecure manner (basic authentication without a
secure connection)". Now at this prompt even if I enter the correct username
and password I dont get authenticated. Can anyone please let me know how to
fix this? Here are my settings in apache httpd.conf file -
<Location /svn>
DAV svn
SVNListParentPath on
SVNParentPath "C:/SVN/REPOSITORY"

AuthName "Subversion repositories"

# NT Domain Logins.
AuthType SSPI
SSPIAuth On
SSPIAuthoritative On
SSPIOmitDomain On
SSPIOfferBasic On

Require valid-user
</Location>

Thankyou.
qadeer

Re: SVN setup on Windows

Posted by Greg Thomas <th...@omc.bt.co.uk>.
On Thu, 19 Jul 2007 11:22:12 -0400, Qadeer <qa...@gmail.com> wrote:

>The problem I am having is when I browse to http://mydomain.com/svn using
>either IE or Firefox I am prompted to enter a user name and password and the
>message on the dialog box reads "Connecting to mydomain.com". If I enter the
>correct username and password everything works fine but if I enter it wrong
>the first time then I get a slightly different dialog box with a message
>that says "The server mydomain.com at Subversion repositories requires a
>username and password. Warning: This server is requesting that your username
>and password be sent in an insecure manner (basic authentication without a
>secure connection)". 

This is really a mod_auth_sspi question and nothing to do with svn,
and would probably be better asked at
http://www.gknw.de/phpbb/viewforum.php?f=9

That said, it sounds like to me that if SSPI authentication (indicated
by "Connecting to mydomain.com") fails, you are falling back to Basic
Authentication (indicated by "basic authentication without a secure
connection"). It looks like you don't have BA set up quite right - but
as I've never used the module in question, I can't really help much
further. 

Greg
-- 
This post represents the views of the author and does
not necessarily accurately represent the views of BT.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org