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

RE: adding LDAP access to existing svn+ssh access

From: Johan Corveleyn <johan.corveleyn_at_uz.kuleuven.ac.be>
Date: Fri, 13 Nov 2009 23:13:58 +0100

> Van: Ted Stern [mailto:dodecatheon_at_gmail.com]
>
> I have a basic idea on how to get WebDAV+LDAP working, but I would
> like to ensure that the post-commit hook script is run as svnuser and
> not apache.

The only way this would happen is if your Apache is run as user svnuser. If you use svn with apache, the post-commit hooks are executed by the account that is running Apache. Note that you can specify a user/group in Apache's config (provided that you start it as root):

Quoting from httpd.conf:
[[[
#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
User svnuser
Group somegroup
]]]

>
> At the same time, I want to preserve the svn+ssh access setup I have
> now to avoid hassles for current users.
>
> I don't see a way to make these two access modes coexist. Is it
> possible?

This is possible, even if they run with different accounts. Some caveats are listed in the book:
http://svnbook.red-bean.com/en/1.5/svn.serverconfig.multimethod.html

Regards,
Johan

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-11-13 23:14:58 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.