From e13a88a2e59a6cdee806fdc4a619a22bba9c3f35 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Thu, 4 Oct 2012 17:08:17 +0200 Subject: Build and installation of Kerberos authentication extension This patch is adding a build of kerberosauth.xpi (FF Kerberos authentication extension). Currently the build is done in install phase of FreeIPA server. It is to allow signing of the extension by singing certificate. The signing might not be necessary because the only outcome is that in extension installation FF doesn't show that the maker is not verified. It shows text: 'Object signing cert'. This might be a bug in httpinstance.py:262(db.create_signing_cert("Signing-Cert", "Object Signing Cert", ca_db)) The value is in place of hostname parameter. If the extension is not signed, it can be created in rpm build phase, which should make upgrades easier. Current implementation doesn't handle upgrades yet. In order to keep extension and config pages not dependent on a realm, a krb.js.teplate file was created. This template is used for creating a /usr/share/ipa/html/krb.js file in install phase which holds FreeIPA's realm and domain information. This information can be then used by config pages by importing this file. Ticket: https://fedorahosted.org/freeipa/ticket/3094 --- install/share/Makefile.am | 3 ++- install/share/krb.js.template | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 install/share/krb.js.template (limited to 'install/share') diff --git a/install/share/Makefile.am b/install/share/Makefile.am index 68c98e05..03fef9a6 100644 --- a/install/share/Makefile.am +++ b/install/share/Makefile.am @@ -31,8 +31,9 @@ app_DATA = \ krb5.conf.template \ krb5.ini.template \ krb.con.template \ + krb.js.template \ krbrealm.con.template \ - preferences.html.template \ + preferences.html.template \ smb.conf.template \ smb.conf.empty \ referint-conf.ldif \ diff --git a/install/share/krb.js.template b/install/share/krb.js.template new file mode 100644 index 00000000..e7ea0559 --- /dev/null +++ b/install/share/krb.js.template @@ -0,0 +1,2 @@ +var IPA_REALM = "$REALM"; +var IPA_DOMAIN = "$DOMAIN"; \ No newline at end of file -- cgit