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

Re: Subversion+Apache+Winbind

From: Sergey Proskurnya <alaley_at_gmail.com>
Date: 2005-03-02 10:10:33 CET

Michael Wallendahl wrote:
> Sergey Proskurnya wrote:
>
>> Reinhard Brandstädter wrote:
>>
>>>
>>> Has anyone ever tried to setup a subversion+apache+winbind
>>> combination to authenticate Users from a Windows Domain Forest
>>> against a Apache hosted Subversion repository?
>>
>>
>>
>> Yes, it is possible, I've such setup for my company.
>> Do you want configuration examples?
>
>
>
> Yes please! I would like configuration examples.
>
> -Mike
>
>
My "/etc/pam.d/httpd":

---
auth            sufficient      pam_winbind.so
account         required        pam_winbind.so
---
The parts of my "/etc/httpd/conf/httpd.conf":
...
LoadModule auth_pam_module   /usr/libexec/httpd/modules/mod_auth_pam.so
LoadModule dav_svn_module    /usr/libexec/httpd/modules/mod_dav_svn.so
LoadModule authz_svn_module  /usr/libexec/httpd/modules/mod_authz_svn.so
...
<Location /svnroot>
         DAV svn
         # SVNAutoversioning on
         AuthzSVNAccessFile /var/spool/svn/svnaccess.conf
         SVNParentPath /var/spool/svn
         SVNIndexXSLT "/svnindex.xsl"
         AuthType Basic
         AuthName "SVN repository"
         AuthPAM_Enabled on
         Require valid-user
</Location>
---
That's all related to Apache+PAM.
The Winbindd/Samba is different story,
so make sure you have working Samba before
playing with PAM authentication through winbind.
Regards,
Serge.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 2 10:12:56 2005

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