diff options
author | Bo Yang <boyang@samba.org> | 2009-12-10 19:29:24 +0800 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-12-14 08:28:57 +0100 |
commit | 1980094125fb02ebb81960d4632adace29c32d1f (patch) | |
tree | 2dbc2e73e1e1817677cb0b378006fe2440de9772 /nsswitch | |
parent | 6552778ed65a65268b14dc0ef88a0fd9da3e62b3 (diff) | |
download | samba-1980094125fb02ebb81960d4632adace29c32d1f.tar.gz |
s3: check for PAM_RADIO_TYPE.
Signed-off-by: Bo Yang <boyang@samba.org>
(cherry picked from commit c7e3a2dc319cc6504356be7fa7970917404a69b5)
(cherry picked from commit fa572721577732c1b5d1cd32de4479a34c895919)
Diffstat (limited to 'nsswitch')
-rw-r--r-- | nsswitch/pam_winbind.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nsswitch/pam_winbind.c b/nsswitch/pam_winbind.c index debffed121e..3e13517f771 100644 --- a/nsswitch/pam_winbind.c +++ b/nsswitch/pam_winbind.c @@ -807,8 +807,7 @@ static int wbc_auth_error_to_pam_error(struct pwb_context *ctx, return pam_winbind_request_log(ctx, ret, username, fn); } -/* PAM_RADIO_TYPE is linux-only. */ -#ifdef LINUX +#if defined(HAVE_PAM_RADIO_TYPE) static bool _pam_winbind_change_pwd(struct pwb_context *ctx) { struct pam_message msg, *pmsg; @@ -846,7 +845,6 @@ static bool _pam_winbind_change_pwd(struct pwb_context *ctx) } #endif - /** * send a password expiry message if required * |