diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/patches-applied/055_pam_unix_nullok_secure | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/patches-applied/055_pam_unix_nullok_secure b/debian/patches-applied/055_pam_unix_nullok_secure index 7eb1dd12..0ea5eec1 100644 --- a/debian/patches-applied/055_pam_unix_nullok_secure +++ b/debian/patches-applied/055_pam_unix_nullok_secure @@ -39,16 +39,16 @@ Index: pam.deb/modules/pam_unix/support.c } } -@@ -456,7 +463,7 @@ +@@ -457,7 +464,7 @@ /* exec binary helper */ args[0] = strdup(CHKPWD_HELPER); args[1] = x_strdup(user); - if (off(UNIX__NONULL, ctrl)) { /* this means we've succeeded */ -+ if (_unix_blankpasswd(pamh, ctrl, name)) { /* this means we've succeeded */ ++ if (_unix_blankpasswd(pamh, ctrl, user)) { /* this means we've succeeded */ args[2]=strdup("nullok"); } else { args[2]=strdup("nonull"); -@@ -553,6 +560,17 @@ +@@ -554,6 +561,17 @@ if (salt) _pam_delete(salt); @@ -66,7 +66,7 @@ Index: pam.deb/modules/pam_unix/support.c return retval; } -@@ -612,7 +630,8 @@ +@@ -613,7 +631,8 @@ } } } else { |