2009/1/8 Marcin Zajaczkowski <span dir="ltr"><mszpak@wp.pl></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
1. Is there something more I can do (to achieve similar to SVN centralized environment) than use SSH and remote bzr calling with bzr_ssh_path_limiter and SGUID?</blockquote><div><br>I have had limited success using bzr+https:// going through apache with config like so:<br>
==<br> RewriteRule ^(.*/|)\.bzr/smart$ /opt/scmbzr/cgi-bin/bzr-smart.fcgi<br><br> Order allow,deny<br> allow from all<br><br> # how to authenticate a user<br> AuthType Basic<br>
AuthName "Document repository"<br><br> AuthUserFile /var/lib/bzrroot-authfile<br><br> # only authenticated users may access the repository<br> Require valid-user<br>
</div></div>==<br>with bzrroot-authfile:<br>==<br>username=encripted_password(I'm not sure how)<br>...<br>==<br><br><b>I could not get per user config</b> <b>working</b>, but I suppose one could write a custom bzr-smart.fcgi which can do that using a access config file (used by AuthzSVNAccessFile), eg:<br>
==<br>[groups]<br>project1-readers = user1,anonymous<br>project1-committers = user2<br><br>[project1:/]<br>@project1-committers = rw<br>@project1-readers = r<br>* = r<br>==<br><br>regards<br>marius<br><br>