New issue
Advanced search Search tips

Issue 714540 link

Starred by 2 users

Issue metadata

Status: Archived
Owner:
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

authpolicy: Handle password expiration warning in kinit

Project Member Reported by ljusten@chromium.org, Apr 24 2017

Issue description

kinit might show the following output:

Warning: You password will expire in 6 days on Thu Apr 27 21:58:00 2017

Verify that it doesn't break authpolicy.
Consider popping up a similar message in Chrome.

 
I've never seen that warning. I've tried reducing the password lifetime on our servers, but I wasn't able to trigger the warning. Any info appreciated!
Status: Started (was: Assigned)
Project Member

Comment 3 by bugdroid1@chromium.org, Jul 24 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform2/+/6db81d0dc74ac5915b0c448a2aecf84b3140c8bc

commit 6db81d0dc74ac5915b0c448a2aecf84b3140c8bc
Author: Lutz Justen <ljusten@chromium.org>
Date: Mon Jul 24 11:49:49 2017

authpolicy: Add unit test for "password will expire" warning

Adds a test that checks that the occasional output
  You password will expire in 6 days on Thu Apr 27 21:58:00 2017
from kinit won't confuse authpolicyd.

BUG= chromium:714540 
TEST=Ran tests

Change-Id: I5c6d1c747eb01ef1a83b4ccbe4ae00bf05f6ce14
Reviewed-on: https://chromium-review.googlesource.com/509251
Commit-Ready: Lutz Justen <ljusten@chromium.org>
Tested-by: Lutz Justen <ljusten@chromium.org>
Reviewed-by: Lutz Justen <ljusten@chromium.org>

[modify] https://crrev.com/6db81d0dc74ac5915b0c448a2aecf84b3140c8bc/authpolicy/authpolicy_unittest.cc
[modify] https://crrev.com/6db81d0dc74ac5915b0c448a2aecf84b3140c8bc/authpolicy/stub_common.cc
[modify] https://crrev.com/6db81d0dc74ac5915b0c448a2aecf84b3140c8bc/authpolicy/stub_common.h
[modify] https://crrev.com/6db81d0dc74ac5915b0c448a2aecf84b3140c8bc/authpolicy/stub_kinit_main.cc

Status: Fixed (was: Started)

Comment 5 by dchan@chromium.org, Jan 22 2018

Status: Archived (was: Fixed)

Sign in to add a comment