diff options
author | Jacques Vidrine <nectar@FreeBSD.org> | 2003-08-26 12:57:08 +0000 |
---|---|---|
committer | Jacques Vidrine <nectar@FreeBSD.org> | 2003-08-26 12:57:08 +0000 |
commit | 36be5194e92f7e22383c6ca4fb82fb1495d5472e (patch) | |
tree | d5321a2f3bf645074c3ef01b55c6ab98107bb37e /security/pam_smb | |
parent | d1b22b4601e614cb5c2113ffa4e2a6b254fe12f2 (diff) | |
download | ports-36be5194e92f7e22383c6ca4fb82fb1495d5472e.tar.gz ports-36be5194e92f7e22383c6ca4fb82fb1495d5472e.zip |
Notes
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) + { |