[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Problem with Authorization

From: bon <boni_go_at_nana.co.il>
Date: Tue, 16 Dec 2008 01:07:36 -0800 (PST)

Hi.
I do not see any link in your message

On 15 דצמבר, 22:45, southbay <southba..._at_gmail.com> wrote:
> Bon,
>      Check out this link, follow the directions and compare to your
> Apache/Subversion installation.  Let me know if this helps.
>
> Regards,
>      Ryan
>
> On Dec 15, 1:09 pm, bon <boni..._at_nana.co.il> wrote:
>
>
>
>
>
> > I fix the checkout problem with path "http://localhost/svn/
> > <repoName>".
> > The Apache service was done.
> > It seems that there was a problem with the IIS i just install.
> > i remove IIS, but Apache  service still did not start, now i got the
> > error:'unknown DAV provider svn'
> > I added "LoadModule dav_svn_module modules/mod_dav_svn.so" to
> > httpd.conf.
> > Now I can checkout using Apache server.
> > I also found that "Require valid-user" line in httpd.conf file control
> > the access control.
> > if i delete it there was free access, added it request password from
> > user for checkout.
> > Also the checkin worked in that way.
>
> > About the SVN server, using: "svn://localhost/<repoName>" still have
> > the problems:
> > checkout without passwaord.
> > Error while checkin:
> > "Commit failed (details follow): "
> > "Authorization failed "
> > Any changes to files under <repositort root>/<repository name>/conf
> > did not seems to effect.
>
> > On Dec 15, 7:38 pm, bon <boni..._at_nana.co.il> wrote:
>
> > > I read about the differences between:
> > > "svn://localhost/<repoName>"
> > > "http://localhost/svn/<repoName>"
>
> > > The first related to SVN server, the second to Apache (httpd) server.
>
> > > Another thing:
> > > The Authorization of SVN is define at each repository under
> > > <repositort root>/<repository name>/conf
> > > The Authorization of Apache is define at httpd.conf.
> > > Am I right?
>
> > > If so, the check out error of "http://localhost/svn/<repoName>:
> > > "Server sent unexpected return value (403 Forbidden) in response to
> > > PROPFIND request for '/svn/<repoName>' " is of Apache.
>
> > > And why i can check out using "svn://localhost/<repoName>" even after
> > > change file svnserve.conf to:
> > > anon-access = none
> > > auth-access = none
>
> > > What is going here with the Authorization? what is the prossess? what
> > > are the relavant files?
>
> > > On Dec 15, 7:16 pm, bon <boni..._at_nana.co.il> wrote:
>
> > > > 1. DONE
> > > > 2. DONE
> > > > 3. DONE
> > > > 4. DONE
>
> > > > BUT same problems.
> > > > Maybe I need to reconfig all config files? How?
>
> > > > On Dec 15, 6:51 pm, southbay <southba..._at_gmail.com> wrote:
>
> > > > > httpd.conf
>
> > > > > Apache/Subversion Issues numbered below.
>
> > > > > 1)  Change path seperators to forward slashes for these lines.
> > > > > 1a)  ServerRoot "D:\Program Files\CollabNet Subversion Server/httpd"
> > > > > 2b) AuthUserFile D:\svn_repository\password-file
>
> > > > > 2)  comment out the following line
> > > > > 2a) LoadModule dav_fs_module modules/mod_dav_fs.so
>
> > > > > 3)  remove the second instance of this line
> > > > > 3a) LoadModule dav_module         modules/mod_dav.so
>
> > > > > 4) Add AuthzSVNAccessFile=<CollabNet Subversion Server INSTALL dir>/
> > > > > svn-acl   ( use forward slashes )
>
> > > > > Also check your apache error logs after you restart apache when you
> > > > > exact the changes and do get the results you want.  Let me know how
> > > > > you make out.  I had run svnserve as a windows service that's why I
> > > > > asked about the parameter.  I like using Apache because I get AD
> > > > > authentication and better logging.
>
> > > > > Regards,
> > > > >      Ryan
>
> > > > > On Dec 15, 9:32 am, bon <boni..._at_nana.co.il> wrote:
>
> > > > > > Thanks for you replay.
> > > > > > I can not find a way for file upload so here is a link:
> > > > > >http://ftf-606.yousendit.com/download/1/B6AFA7B266AEB0D0/58a7e96efe09...t=B%c2%adONI...@NANA.CO.IL&id=526977160&file=httpd.conf
>
> > > > > > What do you mean "when you start the svn service"?
> > > > > > I am using TortoiseSVN, there I write only the path in the repository
> > > > > > to check out.
> > > > > > How he know the root repository path, I do not know. It is writen in
> > > > > > the confing files I attached before.
>
> > > > > > Thanks again,
> > > > > > Hope to solve the problem as quick as possiable.
> > > > > > For now I can not check in any code ...
>
> > > > > > On Dec 15, 3:16 pm, southbay <southba..._at_gmail.com> wrote:
>
> > > > > > > Bon,
> > > > > > >      Can you post your httpd.conf file minus any personal/corporate
> > > > > > > identifiable content?  With regards to svnserve blindly letting you
> > > > > > > access a repos, when you start the svn service, do you pass it the "--
> > > > > > > root=D:\svn_repositories" as a parameter?  I'm not sure if it knows
> > > > > > > where to look for the passwd and authz files.
>
> > > > > > > Regards,
> > > > > > >    Ryan
>
> > > > > > > On Dec 14, 8:23 am, bon <boni..._at_nana.co.il> wrote:
>
> > > > > > > > I am using CollabNet Subversion Server with TortoiseSVN
> > > > > > > > Try check out using TortoiseSVN with the path "svn://localhost/
> > > > > > > > <repoName>" finish with OK (no password is asked, why?).
>
> > > > > > > > Try check out using TortoiseSVN with the path "http://localhost/svn/
> > > > > > > > <repoName>", no password is asked, and I got the error:
> > > > > > > > Server sent unexpected return value (403 Forbidden) in response to
> > > > > > > > PROPFIND
> > > > > > > > request for '/svn/<repoName>'
>
> > > > > > > > Why there is a different between the two?
> > > > > > > > "svn://localhost/<repoName>"
> > > > > > > > "http://localhost/svn/<repoName>"
>
> > > > > > > > After a sucessful check out using path "svn://localhost/<repoName>" i
> > > > > > > > tryed to check in, no password is asked and got the error:
> > > > > > > > Commit failed (details follow):
> > > > > > > > Authorization failed
>
> > > > > > > > What can i do?
>
> > > > > > > > The relevant files are:
> > > > > > > > svn repository root = D:\svn_repository
>
> > > > > > > > ********* D:\svn_repository\password-file:
> > > > > > > > A:<pass hash>
>
> > > > > > > > ********* D:\svn_repository\<repoName>\conf\passwd:
> > > > > > > > [users]
> > > > > > > > A = 1234
>
> > > > > > > > ********* D:\svn_repository\<repoName>\conf\authz:
> > > > > > > > [/]
> > > > > > > > A = rw
>
> > > > > > > > ********* D:\svn_repository\<repoName>\conf\svnserve.conf:
> > > > > > > > anon-access = none
> > > > > > > > auth-access = write
> > > > > > > > password-db = passwd
>
> > > > > > > > ********* <CollabNet Subversion Server INSTALL dir>\httpd\conf
> > > > > > > > \httpd.conf
> > > > > > > > <Location /svn>
> > > > > > > > DAV svn
> > > > > > > > SVNParentPath D:\svn_repository
> > > > > > > > SVNListParentPath On
> > > > > > > > Require valid-user
> > > > > > > > AuthType Basic
> > > > > > > > AuthName "Subversion repository"
> > > > > > > > AuthUserFile D:\svn_repository\password-file
> > > > > > > > </Location>
>
> > > > > > > > ********* <CollabNet Subversion Server INSTALL dir>\svn-auth-file
> > > > > > > > A:<pass hash>
> > > > > > > > ????? for what this file is needed?
>
> > > > > > > > ********* <CollabNet Subversion Server INSTALL dir>\svn-acl
> > > > > > > > [<repoName>:/]
> > > > > > > > * = rw
>
> > > > > > > > BTW, under c:\Documents and Settings\<user name>\Application Data
> > > > > > > > \Subversion\auth\ all 3 files are empty.
>
> > > > > > > > ------------------------------------------------------http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...
>
> > > > > > > > To unsubscribe from this discussion, e-mail: [users-unsubscr..._at_tortoisesvn.tigris.org].
>
> > > > > > > ------------------------------------------------------http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...
>
> > > > > > > To unsubscribe from this discussion, e-mail: [users-unsubscr..._at_tortoisesvn.tigris.org].- Hide quoted text -
>
> > > > > > > - Show quoted text -
>
> > > > > > ------------------------------------------------------http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...
>
> > > > > > To unsubscribe from this discussion, e-mail: [users-unsubscr..._at_tortoisesvn.tigris.org].
>
> > > > > ------------------------------------------------------http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...
>
> > > > > To unsubscribe from this discussion, e-mail: [users-unsubscr..._at_tortoisesvn.tigris.org].- Hide quoted text -
>
> > > > > - Show quoted text -
>
> > > > ------------------------------------------------------http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...
>
> > > > To unsubscribe from this discussion, e-mail: [users-unsubscr..._at_tortoisesvn.tigris.org].- Hide quoted text -
>
> > > > - Show quoted text -
>
> > > ------------------------------------------------------http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...
>
> > > To unsubscribe from this discussion, e-mail: [users-unsubscr..._at_tortoisesvn.tigris.org].- Hide quoted text -
>
> > > - Show quoted text -
>
> > ------------------------------------------------------http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...
>
> > To unsubscribe from this discussion, e-mail: [users-unsubscr..._at_tortoisesvn.tigris.org].
>
> ------------------------------------------------------http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMess...
>
> To unsubscribe from this discussion, e-mail: [users-unsubscr..._at_tortoisesvn.tigris.org].-הסתר טקסט מצוטט-
>
> -הראה טקסט מצוטט-

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=984873

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2008-12-16 10:10:00 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.