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.
7 This is needed that gdm doesn't crash.
11 nsswitch/pam_winbind.c | 4 +++-
12 1 files changed, 3 insertions(+), 1 deletions(-)
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);
22 -#if defined(HAVE_PAM_RADIO_TYPE)
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)
28 struct pam_message msg, *pmsg;