[X2Go-Commits] libpam-x2go.git - build-main (branch) updated: aedd47474a4e9de46169456547aaa741fc6dd49e

X2Go dev team git-admin at x2go.org
Sat Apr 27 13:45:34 CEST 2013


The branch, build-main has been updated
       via  aedd47474a4e9de46169456547aaa741fc6dd49e (commit)
      from  c5549b6ee9ee88df4464dbbe2e2b9894ce80e6c4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

Summary of changes:
 src/pam-freerdp.c |   13 -------------
 1 file changed, 13 deletions(-)

The diff of changes is:
diff --git a/src/pam-freerdp.c b/src/pam-freerdp.c
index 88286c9..24a55d0 100644
--- a/src/pam-freerdp.c
+++ b/src/pam-freerdp.c
@@ -239,10 +239,6 @@ pam_sm_authenticate (pam_handle_t *pamh, int flags, int argc, const char **argv)
 			_exit(EXIT_FAILURE);
 		}
 
-		if (setgroups(1, &pwdent->pw_gid) != 0) {
-			_exit(EXIT_FAILURE);
-		}
-
 		if (clearenv() != 0) {
 			_exit(EXIT_FAILURE);
 		}
@@ -314,11 +310,6 @@ session_socket_handler (struct passwd * pwdent, int readypipe, const char * ruse
 		return EXIT_FAILURE;
 	}
 
-	if (setgroups(1, &pwdent->pw_gid) != 0) {
-		/* Don't need to clean up yet */
-		return EXIT_FAILURE;
-	}
-
 	if (clearenv() != 0) {
 		/* Don't need to clean up yet */
 		return EXIT_FAILURE;
@@ -526,10 +517,6 @@ pam_sm_close_session (pam_handle_t *pamh, int flags, int argc, const char **argv
 			_exit(EXIT_FAILURE);
 		}
 
-		if (setgroups(1, &pwdent->pw_gid) != 0) {
-			_exit(EXIT_FAILURE);
-		}
-
 		if (clearenv() != 0) {
 			_exit(EXIT_FAILURE);
 		}


hooks/post-receive
-- 
libpam-x2go.git (Remote login session via X2Go (PAM module))

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "libpam-x2go.git" (Remote login session via X2Go (PAM module)).




More information about the x2go-commits mailing list