Chromium Code Reviews| Index: remoting/host/pam_authorization_factory_posix.cc |
| diff --git a/remoting/host/pam_authorization_factory_posix.cc b/remoting/host/pam_authorization_factory_posix.cc |
| index 35da4cd38cc804bdd8e588c394dfcbd224cecb6d..30233bd38834942d9a9f4359bdf1a5ef5a0aa5e3 100644 |
| --- a/remoting/host/pam_authorization_factory_posix.cc |
| +++ b/remoting/host/pam_authorization_factory_posix.cc |
| @@ -122,8 +122,10 @@ bool PamAuthorizer::IsLocalLoginAllowed() { |
| pam_handle_t* handle = nullptr; |
| int result = pam_start("chrome-remote-desktop", username.c_str(), |
| &conv, &handle); |
| + HOST_LOG << "pam_start: " << pam_strerror(handle, result); |
|
rkjnsn
2016/11/15 22:56:48
Oops. These were for debugging. They'll be removed
|
| if (result == PAM_SUCCESS) { |
| result = pam_acct_mgmt(handle, 0); |
| + HOST_LOG << "pam_acct_mgmt: " << pam_strerror(handle, result); |
| } |
| pam_end(handle, result); |