TurnKey Linux Virtual Appliance Library

Where is mod_dav_svn.so?

GMX750's picture

Hi all!

I'm a recent member of the Turnkey community, and I need some help!

I'm using Turnkey Trac and I want to setup subversion authentication against Active Directory,

however, in order for this line to work:

DAV svn

I need to have mod_dav_svn.so in my apache mods-enabled, but I can't find It anywhere....

Has anyone had this problem before?

Thanks in advace,

GMX750

Alon Swartz's picture

libapache2-svn package

mod_dav_svn is provided by the libapache2-svn package.

 

apt-get update
apt-get install libapache2-svn

Please post back with your configuration if it works, and any details to reproduce the setup.

We are already in feature freeze but if it's a simple addition I'll see if I can add it into the upcoming trac Lucid release.

Thanks for the reply! I am

Thanks for the reply!

I am able to use Active Directory to authenticate. however, I cannot access my SVN repository with this authentication method. Here is my /etc/trac/apache.conf file section that allows for this:

<VirtualHost *:10000>
     <Location /svn>
          Dav svn   
          SVNParentPath /srv/repos/svn/repoName    
          SVNListParentPath on
          <LimitExcept GET PROPFIND OPTIONS REPORT>  
               require-ldap user
          </LimitExcept>
     </Location>

</VirtualHost>

not working so far... I am now removing the virtualHost tags and trying other stuff...

I can, however, authenticate in trac using a valid active directory user.. and assing permissions to each user with the following line (in case anyone needs this..)

trac-admin /var/local/lib/trac/svn-SIS-ARD permission add saudacor049 TRAC_ADMIN

If anyone has any succes in configuring Subversion Authentication against AD, please reply!

thanks a lot!

Jeremy's picture

Try this at the command line:

apt-get update && apt-get install libapache2-svn

According to the package description:

This package provides the mod_dav_svn and mod_authz_svn modules for the Apache 2.2 web server. These modules provide Subversion's WebDAV server backend, to serve repositories over the http and https protocols.

Hopefully that should work for you. :)

For future reference I found this by doing a search for "mod_dav_svn" in Hardy package descriptions using the Ubuntu Package Search. (The current TKL stable is based on Ubuntu Hardy). Hope that all helps.

[edit] Too slow! Alon beat me to it :)

GMX750's picture

I already have the svn apache

I already have the svn apache modules running, and the code I previously posted works.. however when I try to connect to my svn repository via TortoiseSVN I get a username and password prompt.. but I can't login.. that is my current issue..

I think because I'm using svn+ssh, there is another daemon answering this request.. and not apache as I inicially thought so.

I can authenticate if I acess my repository via http... but when I access it via:

svn+ssh://10.150.1.73/srv/repos/svn/SIS-ARD

I can login using "root" as username and "mypass" as my password....

how can I change these to be active directory credentials?

 

Best regards,

 

GMX750


GMX750's picture

Just found this

Hi, I just found this out:

When using svn+ssh:// URLs to access a repository, remember that it's the ssh program prompting for authentication, and not the svn client program. That means there's no automatic password caching going on

so... that means i have to somehow setup my ssh configuration for active directory acces?

hmm.....

any advice/help?


Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)