The Samba-Bugzilla – Attachment 4243 Details for
Bug 6253
password expiration in pam_winbind isn't handled correctly from Active Directory
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
revised version of that patch
bug-6253-patch-3-3 (text/plain), 981 bytes, created by
Guenther Deschner
on 2009-06-05 05:24:25 UTC
(
hide
)
Description:
revised version of that patch
Filename:
MIME Type:
Creator:
Guenther Deschner
Created:
2009-06-05 05:24:25 UTC
Size:
981 bytes
patch
obsolete
>From 718ccae7ac0b10c538473188ad24f1d92bf95008 Mon Sep 17 00:00:00 2001 >From: =?utf-8?q?G=C3=BCnther=20Deschner?= <gd@samba.org> >Date: Tue, 5 May 2009 12:54:21 +0200 >Subject: [PATCH] s3-pam_winbind: Fix Bug 6253: Use correct value for password expiry calculation. > >Patch from Blindauer Emmanuel <samba@mooby.net>. > >Guenther >(cherry picked from commit 290449aeae950d7490cdcf9d601052fc45bb84dd) >--- > source/nsswitch/pam_winbind.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/source/nsswitch/pam_winbind.c b/source/nsswitch/pam_winbind.c >index 26ef1d4..e7e881d 100644 >--- a/source/nsswitch/pam_winbind.c >+++ b/source/nsswitch/pam_winbind.c >@@ -914,7 +914,7 @@ static void _pam_warn_password_expiry(struct pwb_context *ctx, > /* now check for the global password policy */ > /* good catch from Ralf Haferkamp: an expiry of "never" is translated > * to -1 */ >- if (policy->expire <= 0) { >+ if (policy->expire == (int64_t)-1) { > return; > } > >-- >1.6.0.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
vl
:
review+
Actions:
View
Attachments on
bug 6253
:
4056
|
4116
|
4243
|
4317
|
4318