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

DBM file authentication

From: Andersen, Krista <Krista.Andersen_at_itg.com>
Date: Tue, 2 Nov 2010 21:24:49 -0400

Hi fellow SVN users,

I am wondering about AuthDBMUserFile with SVN.

I see people on this email list using AuthUserFile, and I have successfully tested authentication with AuthUserFile on my test server...

But I believe that file format is restricted to two columns only with an end-o-line character required at the end of the encrypted password, (but I want more;) I would like to be able to append other info to the end of that line. I believe AuthDBMUserFile can handle this but I have not been able to get it to work.

I have created a DBM file using dbmmanage that contains only one user:encryptedpassword, and I provided the path in the httpd.conf file ... but am I supposed to declare the file type in the httpd.config file? If so, how can I determine my file type that I've created?

So far I have something like this:
<AuthnProviderAlias file fileDBM>
   AuthDBMType default|SDBM|GDBM|NDBM|DB
   AuthDBMUserFile /path/to/MyDBMfile.pag
</AuthnProviderAlias>

I have also included this line in the <Location > block for my test repository":
   AuthDBMUserFile fileDBM
   AuthzDBMAuthoritative Off

So my whole location block looks something like this:
<Location /testDir>
   DAV svn
   SVNParentPath /path/to/testDir
   AuthType Basic
   AuthDBMUserFile fileDBM
   AuthzDBMAuthoritative Off
   AuthName "Testbed Subversion Repository"
   Require valid-user
</Location>

I can see mod_authz_dbm and mod_authn_dbm are loaded on my production server. So I think they are also on my test server, but I don't know how to check.

Any suggestions?

Thanks,
Krista Andersen
Consulting Engineer
Investment Technology Group, Inc.
400 Corporate Pointe, office 835
Culver City, CA 90230
Office: 213.270.7570

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
This message is for the named person's use only. This communication is for
informational purposes only and has been obtained from sources believed to
be reliable, but it is not necessarily complete and its accuracy cannot be
guaranteed. It is not intended as an offer or solicitation for the purchase
or sale of any financial instrument or as an official confirmation of any
transaction. Moreover, this material should not be construed to contain any
recommendation regarding, or opinion concerning, any security. It may
contain confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission. If
you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify the
sender. You must not, directly or indirectly, use, disclose, distribute,
print, or copy any part of this message if you are not the intended
recipient. Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorized to state them to be the views of any such entity.

Securities products and services provided to Canadian investors are offered
by ITG Canada Corp. (member CIPF and IIROC - Investment Industry Regulatory
Organization of Canada), an affiliate of Investment
Technology Group, Inc.

Investment research products and services are produced and offered by
ITG Investment Research, Inc. and not ITG Inc. (a FINRA member firm and
SIPC member).

ITG Inc. and/or its affiliates reserves the right to monitor and archive
all electronic communications through its network.

ITG Inc. Member FINRA, SIPC
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Received on 2010-11-03 02:25:34 CET

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

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