Article Title: CentOS5 install apache and svk using domain user authentication. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Install with rpm
Httpd
Httpd-devel
Pam-devel
Subversion
Subversion-perl
After the above package is installed, cpan SVK can complete the svk installation.
Enable ssl for http
Step 1: Create the key and request:
Openssl req-new> new. cert. csr
Step 2: delete passphrase from the key (optional ):
Openssl rsa-in privkey. pem-out new. cert. key
Step 3: Convert the request to signed sert:
Openssl x509-in new. cert. csr-out new. cert. cert-req-signkey new. cert. key-days 1825
Step 4: copy the cert and key files to the appropriate location.
Cp new. cert. cert/etc/apache/ssl. crt/server. crt
Cp new. cert. key/etc/apache/ssl. key/server. key
Configuration: linux does not need to be added to the windows domain.
Mod_auth_pam does not have a ready-made package. Download the source code to compile the package. As long as the above package is installed, there should be no problem.
Because my system is directly integrated with winbind and windows domain, we use domain user verification directly. In this way, we need to modify the configuration:
/Etc/pam. d/httpd
Auth required/lib/security/pam_winbind.so
Account required pam_permit.so
In this way, svn can use the domain user authentication over https.