Fix failover from Global Catalog to LDAP in case GC is not available
This commit is contained in:
parent
72c2cb49be
commit
f99cfe2513
25
0003-AD-properly-intitialize-GC-from-ad_server-option.patch
Normal file
25
0003-AD-properly-intitialize-GC-from-ad_server-option.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 9a9a813906472ffff3911b6006d023e1c6cbff8a Mon Sep 17 00:00:00 2001
|
||||||
|
From: Sumit Bose <sbose@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
|
||||||
|
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
Name: sssd
|
Name: sssd
|
||||||
Version: 1.11.1
|
Version: 1.11.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Summary: System Security Services Daemon
|
Summary: System Security Services Daemon
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
@ -19,6 +19,7 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|||||||
### Patches ###
|
### Patches ###
|
||||||
Patch0001: 0001-krb5-Remove-ability-to-create-public-directories.patch
|
Patch0001: 0001-krb5-Remove-ability-to-create-public-directories.patch
|
||||||
Patch0002: 0002-krb5-Fix-unit-tests.patch
|
Patch0002: 0002-krb5-Fix-unit-tests.patch
|
||||||
|
Patch0003: 0003-AD-properly-intitialize-GC-from-ad_server-option.patch
|
||||||
|
|
||||||
### Dependencies ###
|
### Dependencies ###
|
||||||
Requires: sssd-common = %{version}-%{release}
|
Requires: sssd-common = %{version}-%{release}
|
||||||
@ -706,7 +707,10 @@ fi
|
|||||||
%postun -n libsss_idmap -p /sbin/ldconfig
|
%postun -n libsss_idmap -p /sbin/ldconfig
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Oct 04 2013 Jakub Hrozek <jhrozek@redhat.com> - 1.11.1-1
|
* Tue Oct 08 2013 Jakub Hrozek <jhrozek@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@redhat.com> - 1.11.1-2
|
||||||
- Remove the ability to create public ccachedir (#1015089)
|
- Remove the ability to create public ccachedir (#1015089)
|
||||||
|
|
||||||
* Fri Sep 27 2013 Jakub Hrozek <jhrozek@redhat.com> - 1.11.1-1
|
* Fri Sep 27 2013 Jakub Hrozek <jhrozek@redhat.com> - 1.11.1-1
|
||||||
|
Loading…
Reference in New Issue
Block a user