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

Issue 6484002: Authenticate user/password with PAM in BeginSessionRequest() (Closed)

Created:
9 years, 10 months ago by Lambros
Modified:
9 years, 7 months ago
CC:
chromium-reviews, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, simonmorris+watch_chromium.org, wez+watch_chromium.org, dmaclach+watch_chromium.org, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, ajwong+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Chromoting: UserAuthenticator interface and its implementation for PAM. BUG=none TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=75069

Patch Set 1 #

Total comments: 11

Patch Set 2 : Fixes for review comments #

Total comments: 2

Patch Set 3 : Removed host_stub_fake.cc, fixed style nit. #

Patch Set 4 : Add UserAuthenticator interface #

Total comments: 3

Patch Set 5 : Fixed nit #

Total comments: 10

Patch Set 6 : Removed Pimpl, renamed Auth->Authenticator #

Patch Set 7 : Add free() back in, and remove unused scoped_ptr #include. #

Total comments: 22

Patch Set 8 : Some nits fixed #

Total comments: 2

Patch Set 9 : Reformat lib_list package list #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+192 lines, -4 lines) Patch
M build/install-build-deps.sh View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -4 lines 0 comments Download
A remoting/host/user_authenticator.h View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download
A remoting/host/user_authenticator_pam.h View 1 2 3 4 5 6 1 chunk +46 lines, -0 lines 0 comments Download
A remoting/host/user_authenticator_pam.cc View 1 2 3 4 5 6 7 1 chunk +108 lines, -0 lines 2 comments Download
M remoting/remoting.gyp View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Sergey Ulanov
Looks very good. Most of my comments are just nits. The only real issue, is ...
9 years, 10 months ago (2011-02-10 20:14:28 UTC) #1
Lambros (do not use)
Hi, Thanks for the feedback. Sorry about any spam! :-) What should I trim the ...
9 years, 10 months ago (2011-02-10 21:55:53 UTC) #2
Sergey Ulanov
On Thu, Feb 10, 2011 at 1:55 PM, Lambros Lambrou <lambroslambrou@google.com>wrote: > Hi, > > ...
9 years, 10 months ago (2011-02-10 22:09:37 UTC) #3
Alpha Left Google
I too think we should have separate implementation files for difference platforms. Before that I'd ...
9 years, 10 months ago (2011-02-11 18:51:14 UTC) #4
Sergey Ulanov
Lambros, thanks for addressing my nits. I have couple more comments. Also, please remove changes ...
9 years, 10 months ago (2011-02-11 19:35:20 UTC) #5
wez1
FWIW this is similar to the licensed code layout (SDesktop interface is implemented per-platform and ...
9 years, 10 months ago (2011-02-11 22:17:29 UTC) #6
Sergey Ulanov
Couple more nits. I've started try jobs for this CL. http://codereview.chromium.org/6484002/diff/10/remoting/host/user_auth_pam.cc File remoting/host/user_auth_pam.cc (right): http://codereview.chromium.org/6484002/diff/10/remoting/host/user_auth_pam.cc#newcode82 ...
9 years, 10 months ago (2011-02-14 18:58:25 UTC) #7
Lambros
http://codereview.chromium.org/6484002/diff/10/remoting/host/user_auth_pam.cc File remoting/host/user_auth_pam.cc (right): http://codereview.chromium.org/6484002/diff/10/remoting/host/user_auth_pam.cc#newcode82 remoting/host/user_auth_pam.cc:82: for (count = 0; count < num_msg; count++) { ...
9 years, 10 months ago (2011-02-14 19:12:14 UTC) #8
awong
Hey Lambros, Looks pretty solid. I have some nitpicks about style and structure. http://codereview.chromium.org/6484002/diff/11/remoting/host/user_auth_pam.cc File ...
9 years, 10 months ago (2011-02-15 01:05:28 UTC) #9
Lambros
http://codereview.chromium.org/6484002/diff/11/remoting/host/user_auth_pam.cc File remoting/host/user_auth_pam.cc (right): http://codereview.chromium.org/6484002/diff/11/remoting/host/user_auth_pam.cc#newcode65 remoting/host/user_auth_pam.cc:65: const struct pam_message** msg, On 2011/02/15 01:05:28, awong wrote: ...
9 years, 10 months ago (2011-02-15 15:16:35 UTC) #10
Lambros (do not use)
> > > Although the smart ptr saves you from forgetting a "free()" in the ...
9 years, 10 months ago (2011-02-15 15:38:24 UTC) #11
Lambros
New patch ready for review.
9 years, 10 months ago (2011-02-15 15:59:28 UTC) #12
awong
Thanks for merging the classes and renaming! I've added a more thorough scrub of the ...
9 years, 10 months ago (2011-02-15 16:36:06 UTC) #13
Lambros
http://codereview.chromium.org/6484002/diff/20004/remoting/host/user_authenticator_pam.cc File remoting/host/user_authenticator_pam.cc (right): http://codereview.chromium.org/6484002/diff/20004/remoting/host/user_authenticator_pam.cc#newcode8 remoting/host/user_authenticator_pam.cc:8: #include <stdlib.h> On 2011/02/15 16:36:06, awong wrote: > http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Names_and_Order_of_Includes ...
9 years, 10 months ago (2011-02-15 18:15:51 UTC) #14
Sergey Ulanov
LGTM if the last comment is fixed. Albert, if it looks good to you, I'll ...
9 years, 10 months ago (2011-02-15 18:27:20 UTC) #15
Lambros
http://codereview.chromium.org/6484002/diff/19008/build/install-build-deps.sh File build/install-build-deps.sh (right): http://codereview.chromium.org/6484002/diff/19008/build/install-build-deps.sh#newcode121 build/install-build-deps.sh:121: libpng12-0 On 2011/02/15 18:27:21, sergeyu wrote: > Can you ...
9 years, 10 months ago (2011-02-15 19:34:57 UTC) #16
awong
LGTM http://codereview.chromium.org/6484002/diff/20004/remoting/host/user_authenticator_pam.cc File remoting/host/user_authenticator_pam.cc (right): http://codereview.chromium.org/6484002/diff/20004/remoting/host/user_authenticator_pam.cc#newcode40 remoting/host/user_authenticator_pam.cc:40: int UserAuthenticatorPam::ConvFunction(int num_msg, On 2011/02/15 18:15:51, Lambros wrote: ...
9 years, 10 months ago (2011-02-15 19:45:21 UTC) #17
Sergey Ulanov
9 years, 10 months ago (2011-02-16 04:47:57 UTC) #18

Powered by Google App Engine
This is Rietveld 408576698