]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/samba/samba-3.5.12-pam_radio_type.patch
gcc: Fix building with glibc >= 2.28
[people/pmueller/ipfire-2.x.git] / src / patches / samba / samba-3.5.12-pam_radio_type.patch
CommitLineData
1d13e637
AF
1From 516ba47988f00f83dd4ee53556e0be6463de88ec Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?G=C3=BCnther=20Deschner?= <gd@samba.org>
3Date: Thu, 5 Apr 2012 14:05:00 +0200
4Subject: [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
9Guenther
10---
11 nsswitch/pam_winbind.c | 4 +++-
12 1 files changed, 3 insertions(+), 1 deletions(-)
13
14diff --git a/nsswitch/pam_winbind.c b/nsswitch/pam_winbind.c
15index 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--
301.7.7.6
31