[Freeipa-devel] [PATCH] Domain realm section for clients

Simo Sorce ssorce at redhat.com
Tue Apr 22 18:43:25 UTC 2008


Let's try to see if evolution screws up also with an inlined patch :/



>From dc3dc3d970d9e2584827f29fcc6a03211f6e1ca6 Mon Sep 17 00:00:00 2001
From: Simo Sorce <ssorce at redhat.com>
Date: Tue, 22 Apr 2008 14:11:34 -0400
Subject: [PATCH] Make sure we always have the [domain-realm] section or
kerberos libs misbheave.

---
 ipa-client/ipa-install/ipa-client-install |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/ipa-client/ipa-install/ipa-client-install
b/ipa-client/ipa-install/ipa-client-install
index 976416d..56fcb32 100644
--- a/ipa-client/ipa-install/ipa-client-install
+++ b/ipa-client/ipa-install/ipa-client-install
@@ -287,11 +287,11 @@ def main():
             opts.append({'name':'realms', 'type':'section',
'value':ropts})
             opts.append({'name':'empty', 'type':'empty'})
 
-            #[domain_realm]
-            dropts = [{'name':'.'+cli_domain, 'type':'option',
'value':cli_realm},
-                      {'name':cli_domain, 'type':'option',
'value':cli_realm}]
-            opts.append({'name':'domain_realm', 'type':'section',
'value':dropts})
-            opts.append({'name':'empty', 'type':'empty'})
+        #[domain_realm]
+        dropts = [{'name':'.'+cli_domain, 'type':'option',
'value':cli_realm},
+                  {'name':cli_domain, 'type':'option',
'value':cli_realm}]
+        opts.append({'name':'domain_realm', 'type':'section',
'value':dropts})
+        opts.append({'name':'empty', 'type':'empty'})
 
         #[appdefaults]
         pamopts = [{'name':'debug', 'type':'option', 'value':'false'},
-- 
1.5.4.1


-- 
Simo Sorce * Red Hat, Inc * New York




More information about the Freeipa-devel mailing list