[X2go-Commits] libpam-x2go.git - master (branch) updated: 8df33591ad9b659e3d8bfb597874fc053af2ae11

X2Go dev team git-admin at x2go.org
Fri Nov 9 20:28:12 CET 2012


The branch, master has been updated
       via  8df33591ad9b659e3d8bfb597874fc053af2ae11 (commit)
       via  25b041c3905c152ebfc869127c6792bddb3c0a60 (commit)
      from  4caf5592d0cd7c2972d95da5250796714cb20010 (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 -----------------------------------------------------------------
commit 8df33591ad9b659e3d8bfb597874fc053af2ae11
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Fri Nov 9 20:27:38 2012 +0100

    install x2go-auth-check not libexecdir, not pkglibexecdir

commit 25b041c3905c152ebfc869127c6792bddb3c0a60
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Fri Nov 9 20:27:01 2012 +0100

    change order of rhost and rdomain, we will use rdomain as placeholder for the X2Go desktop shell (session type)

-----------------------------------------------------------------------

Summary of changes:
 src/Makefile.am         |    2 +-
 src/pam-x2go-children.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

The diff of changes is:
diff --git a/src/Makefile.am b/src/Makefile.am
index f5f3379..0f66b7a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -15,7 +15,7 @@ pam_x2go_la_CFLAGS = \
 	-DAUTH_CHECK="\"$(pkglibexecdir)/x2go-auth-check\"" \
 	$(COVERAGE_CFLAGS)
 
-pkglibexec_PROGRAMS = \
+libexec_PROGRAMS = \
 	x2go-auth-check
 
 x2go_auth_check_SOURCES = \
diff --git a/src/pam-x2go-children.c b/src/pam-x2go-children.c
index 5a63d48..e86da1f 100644
--- a/src/pam-x2go-children.c
+++ b/src/pam-x2go-children.c
@@ -155,7 +155,7 @@ session_socket_handler (struct passwd * pwdent, int readypipe, const char * ruse
 		goto cleanup;
 	}
 
-	buffer_fill = snprintf(buffer, buffer_len, "%s %s %s %s", ruser, password, rdomain, rhost);
+	buffer_fill = snprintf(buffer, buffer_len, "%s %s %s %s", ruser, password, rhost, rdomain);
 	if (buffer_fill > buffer_len) {
 		/* This really shouldn't happen, but if for some reason we have an
 		   difference between they way that the lengths are calculated we want


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