Difference between revisions of "HTTPD"

From A-Eskwiki
Jump to: navigation, search
Line 30: Line 30:
 
   Require valid-user
 
   Require valid-user
 
</pre>
 
</pre>
 +
 +
[[Category:Sysop]]

Revision as of 18:19, 6 June 2017

Tijdelijke documentatie: Hoe koppel je HTTPD aan IPA.

Voer de volgende vier commando's uit om een keytab te verkrijgen.

kinit admin
ipa service-add HTTP/<hostname>.a-eskwadraat.nl
ipa-getkeytab -s ipa02.a-eskwadraat.nl -p HTTP/<hostname>.a-eskwadraat.nl -k /etc/httpd/conf/http.keytab
chown apache /etc/httpd/conf/http.keytab

Voeg dit toe aan de apache config.

    
  AuthType Kerberos
  AuthName "Kerberos Login"
  KrbMethodNegotiate on
  KrbMethodK5Passwd on
  KrbServiceName HTTP
  KrbAuthRealms A-ESKWADRAAT.NL
  Krb5KeyTab /etc/httpd/conf/http.keytab
  KrbSaveCredentials off
  Require valid-user