Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Issue 11276040: Implemented local login check for PAM (only enabled on Linux for now). (Closed)

Created:
8 years, 1 month ago by Jamie
Modified:
8 years, 1 month ago
Reviewers:
Wez
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Implemented local login check for PAM (only enabled on Linux for now). BUG=157935 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=164478

Patch Set 1 #

Total comments: 29

Patch Set 2 : Reviewer comments. #

Patch Set 3 : Added explicit dtors. #

Total comments: 4

Patch Set 4 : Reviewer comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+204 lines, -0 lines) Patch
A remoting/host/pam_authorization_factory_posix.h View 1 2 1 chunk +34 lines, -0 lines 0 comments Download
A remoting/host/pam_authorization_factory_posix.cc View 1 2 3 1 chunk +162 lines, -0 lines 0 comments Download
M remoting/host/remoting_me2me_host.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download
M remoting/remoting.gyp View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Jamie
ptal https://codereview.chromium.org/11276040/diff/1/remoting/host/pam_authorization_factory_posix.cc File remoting/host/pam_authorization_factory_posix.cc (right): https://codereview.chromium.org/11276040/diff/1/remoting/host/pam_authorization_factory_posix.cc#newcode30 remoting/host/pam_authorization_factory_posix.cc:30: INVALID_CREDENTIALS : underlying_->rejection_reason(); This results in "invalid PIN" ...
8 years, 1 month ago (2012-10-25 23:16:03 UTC) #1
Wez
https://codereview.chromium.org/11276040/diff/1/remoting/host/pam_authorization_factory_posix.cc File remoting/host/pam_authorization_factory_posix.cc (right): https://codereview.chromium.org/11276040/diff/1/remoting/host/pam_authorization_factory_posix.cc#newcode11 remoting/host/pam_authorization_factory_posix.cc:11: #include "remoting/protocol/channel_authenticator.h" nit: Can't you just forward-define ChannelAuthenticator? https://codereview.chromium.org/11276040/diff/1/remoting/host/pam_authorization_factory_posix.cc#newcode16 ...
8 years, 1 month ago (2012-10-26 03:25:43 UTC) #2
Jamie
PTAL. Something to consider for a follow-up CL is whether or not we need to ...
8 years, 1 month ago (2012-10-26 17:53:30 UTC) #3
Wez
lgtm https://codereview.chromium.org/11276040/diff/1/remoting/host/pam_authorization_factory_posix.cc File remoting/host/pam_authorization_factory_posix.cc (right): https://codereview.chromium.org/11276040/diff/1/remoting/host/pam_authorization_factory_posix.cc#newcode118 remoting/host/pam_authorization_factory_posix.cc:118: underlying_->CreateAuthenticator(local_jid, remote_jid, first_message)); On 2012/10/26 17:53:30, Jamie wrote: ...
8 years, 1 month ago (2012-10-26 21:52:23 UTC) #4
Jamie
fyi https://codereview.chromium.org/11276040/diff/8/remoting/host/pam_authorization_factory_posix.cc File remoting/host/pam_authorization_factory_posix.cc (right): https://codereview.chromium.org/11276040/diff/8/remoting/host/pam_authorization_factory_posix.cc#newcode117 remoting/host/pam_authorization_factory_posix.cc:117: // need to be free()-able zero-initialized memory. On ...
8 years, 1 month ago (2012-10-26 22:13:53 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamiewalch@chromium.org/11276040/7007
8 years, 1 month ago (2012-10-26 22:14:17 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamiewalch@chromium.org/11276040/7007
8 years, 1 month ago (2012-10-27 01:08:34 UTC) #7
commit-bot: I haz the power
Change committed as 164478
8 years, 1 month ago (2012-10-27 01:09:18 UTC) #8
antarus
On 2012/10/27 01:09:18, I haz the power (commit-bot) wrote: > Change committed as 164478 This ...
8 years, 1 month ago (2012-10-31 20:16:54 UTC) #9
Wez
8 years, 1 month ago (2012-10-31 20:20:05 UTC) #10
On 2012/10/31 20:16:54, antarus wrote:
> On 2012/10/27 01:09:18, I haz the power (commit-bot) wrote:
> > Change committed as 164478
> 
> This LGTM from a PAM point of view. Depending on what you end up doing for
Me2Me
> functionality you may need to do something more complex. Since IT2Me uses an
> existing user session, this is sufficient for that.

This change only affects Me2Me, not It2Me.  We run the Me2Me host under the
local user account under which the user registered the host.

Powered by Google App Engine
This is Rietveld 408576698