Hold this patch until all of the S4U2 code is pushed, otherwise it will break the WebUI
>From 90a087720f939e61a1f4fdf99e4a100161e1c5c8 Mon Sep 17 00:00:00 2001
From: Adam Young <ayo...@redhat.com>
Date: Tue, 20 Dec 2011 11:58:01 -0500
Subject: [PATCH] Remove delegation from browser config

---
 install/share/preferences.html.template |    1 -
 ipapython/services.py                   |   48 +++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+), 1 deletions(-)
 create mode 100644 ipapython/services.py

diff --git a/install/share/preferences.html.template b/install/share/preferences.html.template
index b809b9d06fdc856860de6f7a4fd0d490d89e256e..a66576c79c211d76d2af5afbc1a227cce551d9d5 100644
--- a/install/share/preferences.html.template
+++ b/install/share/preferences.html.template
@@ -52,7 +52,6 @@
 
       try {
         prefFuncBool('network.negotiate-auth.using-native-gsslib', true);
-        prefFuncChar('network.negotiate-auth.delegation-uris', '.$DOMAIN');
         prefFuncChar('network.negotiate-auth.trusted-uris', '.$DOMAIN');
         prefFuncBool('network.negotiate-auth.allow-proxies', true);
       } catch (e) {
diff --git a/ipapython/services.py b/ipapython/services.py
new file mode 100644
index 0000000000000000000000000000000000000000..c27c4865f1f86100ae4924239b9212e305384223
--- /dev/null
+++ b/ipapython/services.py
@@ -0,0 +1,48 @@
+# Authors: Alexander Bokovoy <aboko...@redhat.com>
+#
+# Copyright (C) 2011  Red Hat
+# see file 'COPYING' for use and warranty information
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+# authconfig is an entry point to platform-provided AuthConfig implementation
+# (instance of ipapython.platform.base.AuthConfig)
+authconfig = None
+
+# knownservices is an entry point to known platform services
+# (instance of ipapython.platform.base.KnownServices) 
+knownservices = None
+
+# service is a class to instantiate ipapython.platform.base.PlatformService
+service = None
+
+# restore context default implementation  that does nothing
+def restore_context_default(filepath):
+    return
+
+# Restore security context for a path
+# If the platform has security features where context is important, implement your own
+# version in platform services
+restore_context = restore_context_default
+
+# Default implementation of backup and replace hostname that does nothing
+def backup_and_replace_hostname_default(fstore, statestore, hostname):
+    return
+
+# Backup and replace system's hostname
+# Since many platforms have their own way how to store system's hostname, this method must be
+# implemented in platform services
+backup_and_replace_hostname = backup_and_replace_hostname_default
+
+from ipapython.platform.redhat import *
-- 
1.7.7.3

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to