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
Received on Mon Nov 3 22:42:53 2003