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

Re: svnserve alternate authentication

From: Brad <svn_at_molandernet.com>
Date: 2005-03-09 18:00:28 CET

    This doesnt appear to be an option since the passwords are not
stored plaintext in the DB. I need to match against SHA-1 when given
plaintext by apache. Is there a good way to do this with your solution?
Is there a place where I can convert the provided password to SHA-1 to
compare it?

Apache2 is a little slow but will do for now. In the future we will
definitely want to use svnserve for portability, speed and setup
reasons.

Thanks for the advice,
Brad

On Tue, 2005-03-08 at 09:57 -0800, Tom Mornini wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Why not use Apache and Apache::AuthDBI?
>
> http://search.cpan.org/~abh/Apache-DBI/AuthDBI.pm
>
> On Mar 8, 2005, at 9:56 AM, Brad wrote:
>
> > Has anyone put or heard of any effort into designined an alternate
> > authentication interface for svnserve? Our implementation is in dire
> > need of such a mechanism (hundreds of users in an Oracle table used by
> > other development apps)
> >
> > For our company repository I would like to AUTH with a random oracle
> > table for now and ldap in the future. This could be configured by way
> > the svnserve.conf file or on the command line for svnserve itself
> > (db,port,schema,user,table,column,wherecolumn). I am not sure the
> > subversion community would like to incorporate such a feature for
> > release versions but this is a necessity for our environment.
> >
> > If there was a generic interface or an adapter pattern in place it
> > could be fairly easy to authenticate with an alternate datasource
> > rather than the users file. Does anyone have any input/information or
> > know where to start?
> >
> > Thanks,
> > Brad
> >
> >
> - --
> - -- Tom Mornini
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (Darwin)
>
> iD8DBQFCLeeLzaKkuvKwKvcRAo9hAJoDA7uIBolQC58NbbY6IH9r0VZ9eQCfWi2N
> RJdw1EJ1v6RBgx5IY86w0xE=
> =zELS
> -----END PGP SIGNATURE-----
>
Received on Wed Mar 9 17:56:31 2005

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