diff options
Diffstat (limited to 'sysutils/google-compute-engine-oslogin/files/patch-pam__module_pam__oslogin__login.cc')
-rw-r--r-- | sysutils/google-compute-engine-oslogin/files/patch-pam__module_pam__oslogin__login.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/google-compute-engine-oslogin/files/patch-pam__module_pam__oslogin__login.cc b/sysutils/google-compute-engine-oslogin/files/patch-pam__module_pam__oslogin__login.cc index 083462a403ea..2d8f07226c6e 100644 --- a/sysutils/google-compute-engine-oslogin/files/patch-pam__module_pam__oslogin__login.cc +++ b/sysutils/google-compute-engine-oslogin/files/patch-pam__module_pam__oslogin__login.cc @@ -1,4 +1,4 @@ ---- pam_module/pam_oslogin_login.cc.orig 2018-06-11 17:16:50 UTC +--- pam_module/pam_oslogin_login.cc.orig 2018-10-11 16:53:23 UTC +++ pam_module/pam_oslogin_login.cc @@ -14,7 +14,6 @@ @@ -8,7 +8,7 @@ #include <security/pam_modules.h> #include <sys/stat.h> #include <sys/types.h> -@@ -45,7 +44,7 @@ PAM_EXTERN int pam_sm_acct_mgmt(pam_hand +@@ -46,7 +45,7 @@ PAM_EXTERN int pam_sm_acct_mgmt(pam_handle_t *pamh, in int pam_result = PAM_PERM_DENIED; const char *user_name; if ((pam_result = pam_get_user(pamh, &user_name, NULL)) != PAM_SUCCESS) { @@ -17,7 +17,7 @@ return pam_result; } string str_user_name(user_name); -@@ -88,7 +87,7 @@ PAM_EXTERN int pam_sm_acct_mgmt(pam_hand +@@ -93,7 +92,7 @@ PAM_EXTERN int pam_sm_acct_mgmt(pam_handle_t *pamh, in chown(users_filename.c_str(), 0, 0); chmod(users_filename.c_str(), S_IRUSR | S_IWUSR | S_IRGRP); } @@ -26,7 +26,7 @@ "Granting login permission for organization user %s.", user_name); pam_result = PAM_SUCCESS; -@@ -96,7 +95,7 @@ PAM_EXTERN int pam_sm_acct_mgmt(pam_hand +@@ -101,7 +100,7 @@ PAM_EXTERN int pam_sm_acct_mgmt(pam_handle_t *pamh, in if (file_exists) { remove(users_filename.c_str()); } |