You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Mark Griffiths <ma...@chive.com> on 2003/10/17 11:57:47 UTC
.svn directories
Hi all
We moved from CVS to Subversion a couple of months ago and are very
happy with it. Many thanks to all involved!
The only remaining issue we have is with the Visual Studio's handling of
the .svn directories when working with ASP.NET projects. This has been
discussed before on this list [1]
It is fair to say that this is not a bug in Subversion. It seems that
the win32 api is inconsistent about permitting files and directories to
begin with a period. I think it is also very unlikely that
Windows/VS.NET will be patched to fix this issue.
We are currently working with hide-svn.cmd and restore-svn.cmd batch
files that rename between .svn and _svn. We rename to _svn before
refreshing/opening the web project and rename back to .svn before using
the Subversion client. Does anybody have any more ideas about how we
could better work around this problem? As Subversion becomes ever more
popular, this problem is going to be more common place. Most .NET
development shops will be using ASP.NET somewhere and it is also likely
that VS.NET will remain the most popular IDE for these shops.
The suggestion has been dismissed before, but what are the issues with
allowing the administrative directory names to be configurable? Could
it be a command line option for the client (that defaults to .svn)? We
are probably going to have to go this route internally anyway, unless
anyone can come up with a better workaround.
Thanks again
-Mark
[1]
http://subversion.tigris.org/servlets/ReadMsg?list=users&msgId=286281
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Apache2 mod-auth-dbm
Posted by Michael Wood <mw...@its.uct.ac.za>.
On Mon, Nov 03, 2003 at 10:42:02PM +0100, Robert wrote:
[snip]
> 2.0.48 and the error log. It seems that Apache cannot find my
> dbmpassword database. But when I disable "require valid-user"
> everything works fine.
>
[snip]
> [Mon Nov 03 20:14:03 2003] [error] [client 192.168.1.10] (120002)APR
> does not understand this error code: could not open dbm (type default)
> auth file: /usr/local/Apache2_0_48_preforked_for_svn_/usersdbm
[snip]
Just a guess... What type of file is usersdbm? Is it a BerkeleyDB 4.1
database or something else?
Oh, and, is /usr/local/Apache2_0_48_preforked_for_svn_/usersdbm the
correct path to the file?
--
Michael Wood <mw...@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Apache2 mod-auth-dbm
Posted by Robert <ro...@gmx.de>.
Hello.
Did someone manage to use the svn repository wth mod-auth-dbm for
authentication?
I tried with no success: The result now is that everytime I want to
login I get asked for authentication again and again.
I post here my setup: my httpd.conf, my configure settings for Apache
2.0.48 and the error log. It seems that Apache cannot find my
dbmpassword database. But when I disable "require valid-user"
everything works fine.
Maybe someone here can help me, at nntp:alt.apache.configuration nobody
could:(
usersdbm is in Document root for debugging purpose, and permissions are
rw-rw-rw.
And it seems not to be corrupted:
[G4:~] user% dbmmanage /usr/local/ApacheAuthDBM/usersdbm
check user
Enter password:
crypt password ok
[G4:~] user% dbmmanage /usr/local/ApacheAuthDBM/usersdbm
view
user:/BmnidihmYF/Q:develop
My changes to httpd.config:
<Location /svn/repos>
DAV svn
SVNPath /usr/local/subversion_cvs_repository
SetOutputFilter DEFLATE
AuthAuthoritative Off
AuthName "Subversion Repositority realm"
AuthType Basic
AuthDBMUserFile usersdbm
require valid-user
</Location>
My error log:
[Mon Nov 03 20:13:50 2003] [notice] Apache/2.0.48 (Unix) SVN/0.32.1
DAV/2 configured -- resuming normal operations
[Mon Nov 03 20:14:03 2003] [error] [client 192.168.1.10] (120002)APR
does not understand this error code: could not open dbm (type default)
auth file: /usr/local/Apache2_0_48_preforked_for_svn_/usersdbm
[Mon Nov 03 20:14:03 2003] [error] [client 192.168.1.10] DBM user user
not found: /usr/local/Apache2_0_48_preforked_for_svn_/htdocs/svn
[Mon Nov 03 20:58:11 2003] [notice] caught SIGTERM, shutting down
[Mon Nov 03 21:04:36 2003] [notice] Apache/2.0.48 (Unix) SVN/0.32.1
DAV/2 configured -- resuming normal operations
[Mon Nov 03 21:04:46 2003] [error] [client 192.168.1.10] (120002)APR
does not understand this error code: could not open dbm (type default)
auth file: /usr/local/Apache2_0_48_preforked_for_svn_/usersdbm
[Mon Nov 03 21:04:46 2003] [error] [client 192.168.1.10] DBM user user
not found: /usr/local/Apache2_0_48_preforked_for_svn_/htdocs/svn
[Mon Nov 03 21:04:50 2003] [error] [client 192.168.1.10] (120002)APR
does not understand this error code: could not open dbm (type default)
auth file: /usr/local/Apache2_0_48_preforked_for_svn_/usersdbm
[Mon Nov 03 21:04:50 2003] [error] [client 192.168.1.10] DBM user user
not found: /usr/local/Apache2_0_48_preforked_for_svn_/htdocs/svn
[Mon Nov 03 21:05:17 2003] [notice] caught SIGTERM, shutting down
My ./config settings:
$ ./configure --prefix=/usr/local/Apache2_0_48_preforked_for_svn_
--with-mpm=prefork --enable-dav --enable-so --enable-maintainer-mode
--enable-deflate --with-dbm=db4 --enable-auth-dbm
--with-berkeley-db=/usr/local/BerkeleyDB4.1.25
Modules Compiled In:
BUILTIN_LIBS=' modules/aaa/mod_access.la modules/aaa/mod_auth.la
modules/aaa/mod_auth_dbm.la modules/filters/mod_include.la
modules/filters/mod_deflate.la modules/loggers/mod_log_config.la
modules/metadata/mod_env.la modules/metadata/mod_setenvif.la
modules/http/mod_http.la modules/http/mod_mime.la
modules/dav/main/mod_dav.la modules/generators/mod_status.la
modules/generators/mod_autoindex.la modules/generators/mod_asis.la
modules/generators/mod_cgi.la modules/dav/fs/mod_dav_fs.la
modules/mappers/mod_negotiation.la modules/mappers/mod_dir.la
modules/mappers/mod_imap.la modules/mappers/mod_actions.la
modules/mappers/mod_userdir.la modules/mappers/mod_alias.la
modules/mappers/mod_so.la'
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org