[sssd/f20] Fix failover from Global Catalog to LDAP in case GC is not available
Jakub Hrozek
jhrozek at fedoraproject.org
Tue Oct 8 13:49:32 UTC 2013
commit 5b81878ada2ed1abc3afeee2093e363a796ccc9e
Author: Jakub Hrozek <jhrozek at redhat.com>
Date: Tue Oct 8 15:16:48 2013 +0200
Fix failover from Global Catalog to LDAP in case GC is not available
...erly-intitialize-GC-from-ad_server-option.patch | 25 ++++++++++++++++++++
sssd.spec | 8 ++++-
2 files changed, 31 insertions(+), 2 deletions(-)
---
diff --git a/0003-AD-properly-intitialize-GC-from-ad_server-option.patch b/0003-AD-properly-intitialize-GC-from-ad_server-option.patch
new file mode 100644
index 0000000..cd39fdd
--- /dev/null
+++ b/0003-AD-properly-intitialize-GC-from-ad_server-option.patch
@@ -0,0 +1,25 @@
+From 9a9a813906472ffff3911b6006d023e1c6cbff8a Mon Sep 17 00:00:00 2001
+From: Sumit Bose <sbose at redhat.com>
+Date: Wed, 2 Oct 2013 18:21:42 +0200
+Subject: [PATCH] AD: properly intitialize GC from ad_server option
+
+---
+ src/providers/ad/ad_common.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/providers/ad/ad_common.c b/src/providers/ad/ad_common.c
+index 700ac033f42ac700b4e255a74350d774a3340358..ab62d64a943a726724698d1b7eb9f15bc40b389e 100644
+--- a/src/providers/ad/ad_common.c
++++ b/src/providers/ad/ad_common.c
+@@ -441,7 +441,7 @@ _ad_servers_init(TALLOC_CTX *mem_ctx,
+ }
+ sdata->gc = true;
+
+- ret = be_fo_add_server(bectx, fo_service, list[i], 0, sdata, primary);
++ ret = be_fo_add_server(bectx, fo_gc_service, list[i], 0, sdata, primary);
+ if (ret && ret != EEXIST) {
+ DEBUG(SSSDBG_FATAL_FAILURE, ("Failed to add server\n"));
+ goto done;
+--
+1.8.3.1
+
diff --git a/sssd.spec b/sssd.spec
index e432266..1483857 100644
--- a/sssd.spec
+++ b/sssd.spec
@@ -8,7 +8,7 @@
Name: sssd
Version: 1.11.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Group: Applications/System
Summary: System Security Services Daemon
License: GPLv3+
@@ -19,6 +19,7 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
### Patches ###
Patch0001: 0001-krb5-Remove-ability-to-create-public-directories.patch
Patch0002: 0002-krb5-Fix-unit-tests.patch
+Patch0003: 0003-AD-properly-intitialize-GC-from-ad_server-option.patch
### Dependencies ###
Requires: sssd-common = %{version}-%{release}
@@ -706,7 +707,10 @@ fi
%postun -n libsss_idmap -p /sbin/ldconfig
%changelog
-* Fri Oct 04 2013 Jakub Hrozek <jhrozek at redhat.com> - 1.11.1-1
+* Tue Oct 08 2013 Jakub Hrozek <jhrozek at redhat.com> - 1.11.1-3
+- Fix failover from Global Catalog to LDAP in case GC is not available
+
+* Fri Oct 04 2013 Jakub Hrozek <jhrozek at redhat.com> - 1.11.1-2
- Remove the ability to create public ccachedir (#1015089)
* Fri Sep 27 2013 Jakub Hrozek <jhrozek at redhat.com> - 1.11.1-1
More information about the scm-commits
mailing list