[Freeipa-devel] [PATCH] [WIP] Firefox extension

Petr Viktorin pviktori at redhat.com
Mon Oct 8 10:40:12 UTC 2012


On 10/04/2012 06:14 PM, Petr Vobornik wrote:
>
> Updated patches attached.
>
> browserconfig.html points to older config method for versions prior to 15.
>
> The extension is theoretically compatible with FF3.6 and then FF10 and
> later. There is a problem for FF4-9 with loading strings from
> .properties file. FF3.6 is working because it doesn't use bootstraping.
>
> I also notice that we have an existing issue when navigating to config
> pages right away before accepting any certificate. Those pages are using
> some resorces from /ui/ folder which is redirected to https. These
> resources are not loaded because certificate isn't imported. If user is
> going straight for Web UI, he won't encounter this issue, but someone
> might.
> --
> Petr Vobornik
>

This breaks making replicas from masters upgraded from 2.2:

> diff --git a/install/tools/ipa-replica-prepare b/install/tools/ipa-replica-prepare
> index 56f132a380fc344ca069d554cc1e9ce8653aedb9..5ed8439ad305014c669e16ca3ff09aec697d65e3 100755
> --- a/install/tools/ipa-replica-prepare
> +++ b/install/tools/ipa-replica-prepare
> @@ -225,6 +225,8 @@ def copy_files(realm_name, dir):
>       try:
>           shutil.copy("/usr/share/ipa/html/ca.crt", dir + "/ca.crt")
>           if ipautil.file_exists("/usr/share/ipa/html/preferences.html"):
> +            shutil.copy("/usr/share/ipa/html/krb.js", dir + "/krb.js")
> +            shutil.copy("/usr/share/ipa/html/kerberosauth.xpi", dir + "/kerberosauth.xpi")

These files aren't present on upgraded servers.

I'll look into creating them on upgrade.

-- 
Petr³




More information about the Freeipa-devel mailing list