From 07a21dbfa5b9dc3cc6fa7417b64e4963f111fe1a Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 15 Dec 2008 11:32:45 +0100 Subject: s3:fix build of pam_winbind.so on older Linux systems. Older pam implementations on Linux define PAM_AUTHTOK_RECOVER_ERR instead of PAM_AUTHTOK_RECOVERY_ERR. We have always defined and are using PAM_AUTHTOK_RECOVER_ERR in all other places. Michael --- source3/nsswitch/pam_winbind.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/nsswitch/pam_winbind.c b/source3/nsswitch/pam_winbind.c index be22ff3f5e..d049bdb1e7 100644 --- a/source3/nsswitch/pam_winbind.c +++ b/source3/nsswitch/pam_winbind.c @@ -93,8 +93,8 @@ static const char *_pam_error_code_str(int err) return "PAM_CONV_ERR"; case PAM_AUTHTOK_ERR: return "PAM_AUTHTOK_ERR"; - case PAM_AUTHTOK_RECOVERY_ERR: - return "PAM_AUTHTOK_RECOVERY_ERR"; + case PAM_AUTHTOK_RECOVER_ERR: + return "PAM_AUTHTOK_RECOVER_ERR"; case PAM_AUTHTOK_LOCK_BUSY: return "PAM_AUTHTOK_LOCK_BUSY"; case PAM_AUTHTOK_DISABLE_AGING: -- cgit