You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by nikhil gupta <ng...@hotmail.com> on 2007/05/15 10:55:37 UTC
Configuring SVN under SSPI
Hi All,
I'm trying to configure the SVN server under SSPI. I used apache 2.0.59 for hosting SVN. The problem that I’m facing is as follows:
I created a file describing the group that has access on subversion, “svnaccessfile.conf”. Now, if I give * =rw, I can commit files to this repository, but for *=r, I get the following error:
Error: MKACTIVITY of '/svn/testrepos/!svn/act/938532c5-ec0b-0242-8372-d1e89e20f09e': 403 Forbidden (http://dbserver2-hyd:9090)
Now, as per my understanding, *=rw gives read/wirte to all. I do not want such a situation. read/write should be to the selected ones, & read should be for all. Is there any way to achieve that or am I doing this in a wrong way?
I’ve attached the “svnaccessfile.conf” as well as the “httpd.conf” files for your reference. Any help is appreciated.
Thanks,
Nikhil
_________________________________________________________________
Catch the cricket action with MSN!
http://content.msn.co.in/Sports/Cricket/Default.aspx
Re: Configuring SVN under SSPI
Posted by Rodney Schuler <rs...@gmail.com>.
On 5/15/07, nikhil gupta <ng...@hotmail.com> wrote:
>
> Hi All,
>
> I'm trying to configure the SVN server under SSPI. I used apache 2.0.59 for
> hosting SVN. The problem that I'm facing is as follows:
>
> I created a file describing the group that has access on subversion,
> "svnaccessfile.conf". Now, if I give * =rw, I can commit files to this
> repository, but for *=r, I get the following error:
>
> Error: MKACTIVITY of
> '/svn/testrepos/!svn/act/938532c5-ec0b-0242-8372-d1e89e20f09e':
> 403 Forbidden (http://dbserver2-hyd:9090)
>
> Now, as per my understanding, *=rw gives read/wirte to all. I do not want
> such a situation. read/write should be to the selected ones, & read should
> be for all. Is there any way to achieve that or am I doing this in a wrong
> way?
>
> I've attached the "svnaccessfile.conf" as well as the "httpd.conf" files for
> your reference. Any help is appreciated.
>
>
>
> Thanks,
>
> Nikhil
> ________________________________
>
>
We have been running Apache 2.0.59 with SSPI successfully for a long
time. So, you configuration can be made to work. The most common
problem that I have had is matching the domain\user from the http
request to the user name in the config file. Does the user name in
the Apache access log match the user name in the access file?
What version of mod_sspi are you using? The newer versions have some
nice functionality to deal with case conversion and domains on the
user name.
--
Need a better browser? Try Firefox (http://www.mozilla.org)
Want a gmail invite? Email me, I have plenty.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Configuring SVN under SSPI
Posted by Ahmed Reza <ah...@gmail.com>.
Hi Nikhil,
I have this working and below are the details of my settings:
Make sure that in your httpd.conf file you have the following:
LoadModule sspi_auth_module modules/mod_auth_sspi.so
My Apache Conf file looks something like this:
<Location "/SVNRepos">
DAV svn
SVNPathAuthz off
AuthType SSPI
SSPIAuth On
SSPIAuthoritative On
SSPIDomain //**enter your domain controller name here***
SSPIOfferBasic on
SSPIOmitDomain on //**this makes things a lot easier**
SSPIUsernameCase lower
AuthzSVNAccessFile svnaccessfile //**make sure you've got this right
Require valid-user
</Location>
Next, svnaccessfile (yes that is literally the name of the accessfile)
looks like this:
[SVNRepos:/]
ahmed=rw
*=r
This should get your, working. Let me know if you're still having
problems. BTW, if you google the sspi module I mentioned above I'm
sure you'll find it.
Regards,
Ahmed
On 5/15/07, nikhil gupta <ng...@hotmail.com> wrote:
> Hi All,
>
> I'm trying to configure the SVN server under SSPI. I used apache 2.0.59 for
> hosting SVN. The problem that I'm facing is as follows:
>
>
>
>
> I created a file describing the group that has access on subversion,
> "svnaccessfile.conf". Now, if I give * =rw, I can commit files to this
> repository, but for *=r, I get the following error:
>
>
>
> Error: MKACTIVITY of
> '/svn/testrepos/!svn/act/938532c5-ec0b-0242-8372-d1e89e20f09e':
> 403 Forbidden (http://dbserver2-hyd:9090)
>
>
>
>
>
> Now, as per my understanding, *=rw gives read/wirte to all. I do not want
> such a situation. read/write should be to the selected ones, & read should
> be for all. Is there any way to achieve that or am I doing this in a wrong
> way?
>
>
>
>
>
> I've attached the "svnaccessfile.conf" as well as the "httpd.conf" files for
> your reference. Any help is appreciated.
>
>
>
> Thanks,
>
> Nikhil
> ________________________________
> Catch the cricket action with MSN! Click here!
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail:
> users-help@subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org