Fix ipa-migration bug

- Resolves: upstream #2719 - IPA: returned unknown dp error code with disabled
                             migration mode
This commit is contained in:
Lukas Slebodnik 2015-07-21 09:05:49 +02:00
parent b46d3ce3db
commit cc1ba0d674
2 changed files with 38 additions and 1 deletions

View File

@ -0,0 +1,32 @@
From 3c0ed7ebf698f69ce1643d0f41d758fc730e06a7 Mon Sep 17 00:00:00 2001
From: Lukas Slebodnik <lslebodn@redhat.com>
Date: Tue, 14 Jul 2015 12:48:47 +0200
Subject: [PATCH] KRB5: Return right data provider error code
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Resolves:
https://fedorahosted.org/sssd/ticket/2719
Reviewed-by: Michal Židek <mzidek@redhat.com>
---
src/providers/krb5/krb5_wait_queue.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/providers/krb5/krb5_wait_queue.c b/src/providers/krb5/krb5_wait_queue.c
index 126209620dcd22889cf7bcb1cbec1890b8891b41..b4d3f903a94c9fdfffc975f1dfd10a27ab653a8d 100644
--- a/src/providers/krb5/krb5_wait_queue.c
+++ b/src/providers/krb5/krb5_wait_queue.c
@@ -366,7 +366,7 @@ int krb5_auth_queue_recv(struct tevent_req *req,
}
if (_dp_err) {
- *_dp_err = state->pam_status;
+ *_dp_err = state->dp_err;
}
TEVENT_REQ_RETURN_ON_ERROR(req);
--
2.4.3

View File

@ -29,7 +29,7 @@
Name: sssd
Version: 1.13.0
Release: 3%{?dist}
Release: 4%{?dist}
Group: Applications/System
Summary: System Security Services Daemon
License: GPLv3+
@ -39,6 +39,7 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
### Patches ###
Patch0001: 0001-SSSDConfig-return-list-for-list_active_domains.patch
Patch0002: 0002-KRB5-Return-right-data-provider-error-code.patch
### Dependencies ###
Requires: sssd-common = %{version}-%{release}
@ -1011,6 +1012,10 @@ fi
%{_libdir}/%{name}/modules/libwbclient.so
%changelog
* Tue Jul 21 2015 Lukas Slebodnik <lslebodn@redhat.com> - 1.13.0-4
- Fix ipa-migration bug
- Resolves: upstream #2719 - IPA: returned unknown dp error code with disabled
migration mode
* Wed Jul 08 2015 Lukas Slebodnik <lslebodn@redhat.com> - 1.13.0-3
- New upstream release 1.13.0
- https://fedorahosted.org/sssd/wiki/Releases/Notes-1.13.0