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

Re: One file for SVN and HTTP auth

From: Radomir Zoltowski <radomir.zoltowski_at_s3group.com>
Date: Tue, 25 Aug 2009 15:26:15 +0100

Ognjen Blagojevic wrote:
> Ognjen Blagojevic wrote:
>
>> Is there a way to use one file for both svn: and http: authentication?
>>
>
> Any ideas on this one?
>
> Let me elaborate: My team uses Subversion server under CentOS, and so
> far we used svn: protocol to access the repository. The repository is
> private, and the passwords are stored in /svnrepos/xxx/conf/passwd files.
>
> However now I'm trying to configure http: access with authentication,
> and I wonder is it possible to export all passwords from passwd file to
> htpasswd file? Or even better, to use one password file for both svn:
> and http: access?
>
> Regards,
> Ognjen
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2387117
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
>
Avoid using flat files or you will be updating each of them every so
often, struggle with synchronisation and so on. Assume that you have a
directory already, either LDAP, AD, NIS whatever, you can use these to
at least authenticate your users for any protocol. To authorise your
users to repository, it's probably best to use svnperms* from
./tools/hook-scripts/ where you don't care about access protocol being used.

Anyway, this is solution #001. If anybody else could propose any other
solution, I'd be glad to compare.

R.

The information contained in this e-mail and in any attachments is confidential and is designated solely for the attention of the intended recipient(s). If you are not an intended recipient, you must not use, disclose, copy, distribute or retain this e-mail or any part thereof. If you have received this e-mail in error, please notify the sender by return e-mail and delete all copies of this e-mail from your computer system(s).
Please direct any additional queries to: communications_at_s3group.com.
Thank You.
Silicon and Software Systems Limited. Registered in Ireland no. 378073.
Registered Office: South County Business Park, Leopardstown, Dublin 18

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2387129

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-27 00:06:59 CEST

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.