The branch, build-main has been updated
via 9edb1437e2a19dd966696c36518503a9e1c21e2f (commit)
from c4dbf5d89df4828137aeb5fc3bc8d9d0bf28a471 (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-x2go-…
[View More]children.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
The diff of changes is:
diff --git a/src/pam-x2go-children.c b/src/pam-x2go-children.c
index 67d3af1..77be8a2 100644
--- a/src/pam-x2go-children.c
+++ b/src/pam-x2go-children.c
@@ -158,7 +158,7 @@ session_socket_handler (struct passwd * pwdent, int readypipe, const char * ruse
goto cleanup;
}
- buffer_fill = snprintf(buffer, buffer_len, "%s %s %s %s%s%s", ruser, rhost, rsession, password, EOL, EOF);
+ buffer_fill = snprintf(buffer, buffer_len, "%s %s %s %s\n%s", ruser, rhost, rsession, password, EOF);
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)).
[View Less]
The branch, build-main has been updated
via 482b1f21434d33edc8685da1ddbe14f2c5b72508 (commit)
from f821e53524e7635a39358ca0daadb2951d84a5dd (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:
debian/…
[View More]changelog | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 09899ad..6ce02af 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-libpam-x2go (0.0.0.1-0~x2go1) UNRELEASED; urgency=low
+libpam-x2go (0.0.0.1-0~x2go1) unstable; urgency=low
* Initial upstream release. Forked from libpam-freerdp (by Ted Gould
<ted(a)canonical.com>).
@@ -12,4 +12,4 @@ libpam-x2go (0.0.0.1-0~x2go1) UNRELEASED; urgency=low
* /debian/control:
- Depend on dh-autoreconf.
- -- Mike Gabriel <mike.gabriel(a)das-netzwerkteam.de> Fri, 09 Nov 2012 01:10:25 +0100
+ -- Mike Gabriel <mike.gabriel(a)das-netzwerkteam.de> Sat, 10 Nov 2012 22:21:10 +0100
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)).
[View Less]
The branch, build-main has been updated
via 4dfe87335c635ceb63ac1f94d10ddd6ac309d456 (commit)
from c9c813ad59d8f233bc75043af3cdb9bf78cf2ce7 (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:
debian/rules …
[View More]| 1 -
1 file changed, 1 deletion(-)
The diff of changes is:
diff --git a/debian/rules b/debian/rules
index 2e0ece7..637ae1e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,6 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/autoreconf.mk
-include /usr/share/cdbs/1/rules/clean-la.mk
include /usr/share/cdbs/1/class/autotools.mk
# Remove .a and .la files from /lib/security
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)).
[View Less]
The branch, build-main has been updated
via 989b7450ad7bf5fe10718c4ceb39ce4913e71a92 (commit)
from c6a1d0bcbef495512a7cea8ac5759b769145b159 (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:
debian/rules …
[View More] | 1 +
src/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
The diff of changes is:
diff --git a/debian/rules b/debian/rules
index 4edf62f..e355a09 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,4 +2,5 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/autoreconf.mk
+include /usr/share/cdbs/1/rules/clean-la.mk
include /usr/share/cdbs/1/class/autotools.mk
diff --git a/src/Makefile.am b/src/Makefile.am
index ee5576e..e09c057 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -18,7 +18,7 @@ pam_x2go_la_CFLAGS = \
$(COVERAGE_CFLAGS)
pam_x2go_la_LIBADD = \
- -lpam
+ -lpam
libexec_PROGRAMS = \
x2go-auth-check
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)).
[View Less]
The branch, build-main has been updated
via c4dbf5d89df4828137aeb5fc3bc8d9d0bf28a471 (commit)
from 482b1f21434d33edc8685da1ddbe14f2c5b72508 (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:
debian/…
[View More]changelog | 7 +++++++
src/pam-x2go-children.c | 5 +++--
2 files changed, 10 insertions(+), 2 deletions(-)
The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 6ce02af..ac7fbb6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libpam-x2go (0.0.0.2-0~x2go1) UNRELEASED; urgency=low
+
+ * New upstream version (0.0.0.2):
+ - Send EOL+EOF at end of socket transmission.
+
+ -- Mike Gabriel <mike.gabriel(a)das-netzwerkteam.de> Sun, 11 Nov 2012 13:27:51 +0100
+
libpam-x2go (0.0.0.1-0~x2go1) unstable; urgency=low
* Initial upstream release. Forked from libpam-freerdp (by Ted Gould
diff --git a/src/pam-x2go-children.c b/src/pam-x2go-children.c
index e161ca3..67d3af1 100644
--- a/src/pam-x2go-children.c
+++ b/src/pam-x2go-children.c
@@ -65,7 +65,7 @@ pam_sm_authenticate_helper (int *stdinpipe, const char* username, const char* rh
}
if (setgid(pwdent->pw_gid) < 0 || setuid(pwdent->pw_uid) < 0 ||
- setegid(pwdent->pw_gid) < 0 || seteuid(pwdent->pw_uid) < 0) {
+ setegid(pwdent->pw_gid) < 0 || seteuid(pwdent->pw_uid) < 0) {
_exit(EXIT_FAILURE);
}
@@ -138,6 +138,7 @@ session_socket_handler (struct passwd * pwdent, int readypipe, const char * ruse
buffer_len += strlen(rhost) + 1; /* Add one for the space */
buffer_len += strlen(rsession) + 1; /* Add one for the space */
buffer_len += strlen(password) + 1; /* Add one for the NULL */
+ buffer_len += 2 /* one for EOL, another for EOF */
if (buffer_len < 5) {
/* Don't need to clean up yet */
@@ -157,7 +158,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, rhost, rsession, password);
+ buffer_fill = snprintf(buffer, buffer_len, "%s %s %s %s%s%s", ruser, rhost, rsession, password, EOL, EOF);
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)).
[View Less]
The branch, build-main has been updated
via 179e19ef771d0c6d12020b89587ef754f7e725ae (commit)
from 220ba1cfc103ee4f932663fa1d2d956505ad4a94 (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-x2go-…
[View More]children.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
The diff of changes is:
diff --git a/src/pam-x2go-children.c b/src/pam-x2go-children.c
index e86da1f..f9bf18d 100644
--- a/src/pam-x2go-children.c
+++ b/src/pam-x2go-children.c
@@ -155,7 +155,9 @@ 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, rhost, rdomain);
+ /* fill the buffer that we will pipe into the .x2go-socket file, the blank at the end of the string is tremendously
+ important */
+ 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)).
[View Less]
The branch, build-main has been updated
via a9a228ea6e6d0b8d17c463ad05bbc1b7a9f0c3c5 (commit)
from ec6ec5d046dbf8bf0efa5ad680f1acfbe2daaa6f (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:
tests/{test-…
[View More]freerdp-auth.c => test-x2go-auth.c} | 0
...est-freerdp-wrapper.cc => test-x2go-wrapper.cc} | 0
2 files changed, 0 insertions(+), 0 deletions(-)
rename tests/{test-freerdp-auth.c => test-x2go-auth.c} (100%)
rename tests/{test-freerdp-wrapper.cc => test-x2go-wrapper.cc} (100%)
The diff of changes is:
diff --git a/tests/test-freerdp-auth.c b/tests/test-x2go-auth.c
similarity index 100%
rename from tests/test-freerdp-auth.c
rename to tests/test-x2go-auth.c
diff --git a/tests/test-freerdp-wrapper.cc b/tests/test-x2go-wrapper.cc
similarity index 100%
rename from tests/test-freerdp-wrapper.cc
rename to tests/test-x2go-wrapper.cc
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)).
[View Less]
The branch, build-main has been updated
via 76fe66388e97b4471458dba2b6d7981957d543bc (commit)
from b67134913d2690234a4bd962604b3bb1dce8eb50 (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/Makefile.…
[View More]am | 11 +++++++++++
1 file changed, 11 insertions(+)
The diff of changes is:
diff --git a/src/Makefile.am b/src/Makefile.am
index 029c14c..f2abac3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -15,6 +15,17 @@ pam_x2go_la_CFLAGS = \
-DAUTH_CHECK="\"$(libexecdir)/x2go-auth-check\"" \
$(COVERAGE_CFLAGS)
+libx2gocore_la_SOURCES = \
+ pam-x2go.c \
+ pam-x2go-children.c
+libx2gocore_la_CFLAGS = \
+ -Wall -Werror \
+ $(COVERAGE_CFLAGS)
+libx2gocore_la_LIBADD = \
+ -lpam
+libx2gocore_la_LDFLAGS = \
+ $(COVERAGE_LDFLAGS)
+
libexec_PROGRAMS = \
x2go-auth-check
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)).
[View Less]
The branch, build-main has been updated
via d247820998c72166a242c736a7a92aa6c60d769e (commit)
from dc91556b83dc9f272431dfe721c00a952973188b (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/Makefile.…
[View More]am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
The diff of changes is:
diff --git a/src/Makefile.am b/src/Makefile.am
index 0f66b7a..029c14c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -12,7 +12,7 @@ pam_x2go_la_LDFLAGS = \
pam_x2go_la_CFLAGS = \
-Wall -Werror \
- -DAUTH_CHECK="\"$(pkglibexecdir)/x2go-auth-check\"" \
+ -DAUTH_CHECK="\"$(libexecdir)/x2go-auth-check\"" \
$(COVERAGE_CFLAGS)
libexec_PROGRAMS = \
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)).
[View Less]