[SCM] Samba Shared Repository - branch master updated - 07a21dbfa5b9dc3cc6fa7417b64e4963f111fe1a

Michael Adam obnox at samba.org
Mon Dec 15 10:41:37 GMT 2008


The branch, master has been updated
       via  07a21dbfa5b9dc3cc6fa7417b64e4963f111fe1a (commit)
      from  daeb3a190d16a5bc05be63b2b136ebe65d6f6cf7 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 07a21dbfa5b9dc3cc6fa7417b64e4963f111fe1a
Author: Michael Adam <obnox at samba.org>
Date:   Mon Dec 15 11:32:45 2008 +0100

    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

-----------------------------------------------------------------------

Summary of changes:
 source3/nsswitch/pam_winbind.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/nsswitch/pam_winbind.c b/source3/nsswitch/pam_winbind.c
index be22ff3..d049bdb 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:


-- 
Samba Shared Repository


More information about the samba-cvs mailing list