]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/samba/samba-3.5.12-pam_radio_type.patch
Merge remote-tracking branch 'origin/master' into next
[ipfire-2.x.git] / src / patches / samba / samba-3.5.12-pam_radio_type.patch
1 From 516ba47988f00f83dd4ee53556e0be6463de88ec Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= <gd@samba.org>
3 Date: Thu, 5 Apr 2012 14:05:00 +0200
4 Subject: [PATCH] nsswitch: disable HAVE_PAM_RADIO_TYPE handling until proper
5 PAM_RADIO_TYPE handling is available.
6
7 This is needed that gdm doesn't crash.
8
9 Guenther
10 ---
11 nsswitch/pam_winbind.c | 4 +++-
12 1 files changed, 3 insertions(+), 1 deletions(-)
13
14 diff --git a/nsswitch/pam_winbind.c b/nsswitch/pam_winbind.c
15 index b802036..0ed91d8 100644
16 --- a/nsswitch/pam_winbind.c
17 +++ b/nsswitch/pam_winbind.c
18 @@ -807,7 +807,9 @@ static int wbc_auth_error_to_pam_error(struct pwb_context *ctx,
19 return pam_winbind_request_log(ctx, ret, username, fn);
20 }
21
22 -#if defined(HAVE_PAM_RADIO_TYPE)
23 +#if 0
24 +/* #if defined(HAVE_PAM_RADIO_TYPE) currently disabled until proper
25 + * PAM_RADIO_TYPE is implemented - gd */
26 static bool _pam_winbind_change_pwd(struct pwb_context *ctx)
27 {
28 struct pam_message msg, *pmsg;
29 --
30 1.7.7.6
31