[Ilugc] Fwd: Authentication problem in SVN

  • From: metturmohan2009@xxxxxxxxx (mettur salem)
  • Date: Thu Jun 4 14:25:38 2009

Dear Luggies

 Thanks senthil

But still not authentication is not accepted to newly added user,  it
accepts all the user who are try to commit the server  i want to avoid this
for common  and allow only authenticated people to commit the server( before
it works )

 I found there is no  mod_authz_svn   ( i try yum install mod_authz_svn
results no package available  iam using fedor 9  svn version is 1.4.6 )

commited pages are NOT directly loaded  in the spaces of   trunk and tags
and branches places instead it loads directly ie in before trunk  how to
avoid this / restricted this  ie commit is allow to under only certain
pages

I think  that book is not a too specific explanation about svn  i need more
info from real time handling people

  please share to fix this issue

some time i am feel very badly with linux in support  but i really like
linux love it

with regards,
Mettur Mohan



 On Thu, Jun 4, 2009 at 1:13 PM, Senthil Kumaran S <stylesen@xxxxxxxxx>wrote:

Hi,

On Thu, Jun 4, 2009 at 11:17 AM, mettur salem <metturmohan2009@xxxxxxxxx>
wrote:
 under the folder of conf

-rw-r--r-- 1 apache apache  755 2009-06-03 21:41 authz
-rw-r--r-- 1 apache apache   46 2009-04-29 20:01 passwd
-rw-r--r-- 1 apache apache 1449 2009-06-03 21:41 svnserve.conf

if i give the some restriction in svnserve.conf    file this is not able
to
apply while access  via http of svn pages in local lan ??  authz file is
not
responses  any upgradation required  ( related to Modules loaded  in http
file )

svnserve.conf has to do nothing with access over http://, it is for
svn:// access and svnserve daemon. So whatever you do inside conf
directory of a repository it wont have any effect for http:// access.
This is mentioned in those files clearly in the comments. Please read
http://svnbook.red-bean.com/, in order to understand the various
access methods of subversion which is clearly explained.

ie http://192.168.1.2/repos/svn    --- it allows all to access and
commit
and checkout  for all the repositary  i apply  restriction  as per
senthil
says  but it is not effect

--This may be due to many reasons. One such reason is, you don't have
--the required authentication modules loaded in apache, like mod_auth,
---mod_authz, mod_authz_svn, etc.

he following command will help you to identify this:

sudo which httpd` -l


 it shows only /usr/bin/httpd



1.http authenticaion file is kept in  /etc/svn-auth   ie user password
are
stored here
2. subversion configuration file is kept in  /etc/
httpd/conf.d/subversion.conf


subversion.conf

<Location /repos>
    DAV svn
   SVNParentPath  /repos
   AuthType Basic
  AuthName "Snowserver1 Subversion Repositories"
      AuthUserFile /etc/svn-auth-file

-- per 1. your file is " /etc/svn-auth" but you have put
--etc/svn-auth-file" in your apache configuration.


  I do a typing mistake while send a mail to lug and u



   <LimitExcept GET PROPFIND OPTIONS REPORT>
      Require valid-user
   </LimitExcept>
</Location>

Do not put "Require valid-user" inside <LimitExcept> section, just put
this after "AuthUserFile" directive.

Having said that, I would like you to go through
http://svnbook.red-bean.com/ which has all the information regarding
subversion administration.

Thank You.
--
Senthil Kumaran S
http://www.stylesen.org/

Other related posts:

  • » [Ilugc] Fwd: Authentication problem in SVN - mettur salem