[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-4692-gd217acb

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


The branch, v3-3-test has been updated
       via  d217acb9066b9a6282be3ff737d78e5d9c985ae1 (commit)
      from  34f96b0cdcee3a8ab6612313e70b682f2aa29538 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


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

    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:
 source/nsswitch/pam_winbind.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/nsswitch/pam_winbind.c b/source/nsswitch/pam_winbind.c
index 95c78cf..338d538 100644
--- a/source/nsswitch/pam_winbind.c
+++ b/source/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