diff options
Diffstat (limited to 'security/pam_smb')
-rw-r--r-- | security/pam_smb/Makefile | 2 | ||||
-rw-r--r-- | security/pam_smb/files/patch-smbval::smblib.c | 19 |
2 files changed, 20 insertions, 1 deletions
diff --git a/security/pam_smb/Makefile b/security/pam_smb/Makefile index 85ca4eec1fe9..3ceb80d35e71 100644 --- a/security/pam_smb/Makefile +++ b/security/pam_smb/Makefile @@ -6,7 +6,7 @@ PORTNAME= pam_smb PORTVERSION= 1.9.9 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= security MASTER_SITES= http://www.csn.ul.ie/~airlied/pam_smb/devel/ diff --git a/security/pam_smb/files/patch-smbval::smblib.c b/security/pam_smb/files/patch-smbval::smblib.c new file mode 100644 index 000000000000..62ad5a129199 --- /dev/null +++ b/security/pam_smb/files/patch-smbval::smblib.c @@ -0,0 +1,19 @@ +*** smbval/smblib.c.orig Sat Aug 16 09:42:32 2003 +--- smbval/smblib.c Sat Aug 16 09:43:34 2003 +*************** +*** 338,344 **** + + } + +! strcpy(pword, PassWord); + #ifdef PAM_SMB_ENC_PASS + if (Con_Handle -> encrypt_passwords) + { +--- 338,344 ---- + + } + +! (void)strlcpy(pword, PassWord, sizeof(pword)); + #ifdef PAM_SMB_ENC_PASS + if (Con_Handle -> encrypt_passwords) + { |