The branch, build-main has been updated
via 8312e8df8682ebf7b8499b641c56844e617aeb9b (commit)
from 09cc9a1f35d8a4b847e9982745c65c7408f72999 (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:
.bzrignore …
[View More] | 4 ++--
src/Makefile.am | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
The diff of changes is:
diff --git a/.bzrignore b/.bzrignore
index b26f2db..6e74a89 100644
--- a/.bzrignore
+++ b/.bzrignore
@@ -1,4 +1,4 @@
-pam-freerdp-[0-9].[0-9].[0-9].tar.gz
-src/pam-freerdp.la
+libpam-freerdp-[0-9].[0-9].[0-9].tar.gz
+src/pam_freerdp.la
src/pam_freerdp_la-pam-freerdp.lo
src/pam_freerdp_la-pam-freerdp.o
diff --git a/src/Makefile.am b/src/Makefile.am
index a63960c..701b9ff 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,6 +1,6 @@
pamlibdir = $(PAMMODULEDIR)
-pamlib_LTLIBRARIES = pam-freerdp.la
+pamlib_LTLIBRARIES = pam_freerdp.la
pam_freerdp_la_SOURCES = \
pam-freerdp.c
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 dfbd12d4d9e5af664330aff4bd31443f271d444c (commit)
from 65f877d10b3da172a4bef124b2184db9f2d1cf4c (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:
configure.ac …
[View More]| 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
The diff of changes is:
diff --git a/configure.ac b/configure.ac
index 1d3a0a1..7e8ec5d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([pam-freerdp], [0.0.1])
+AC_INIT([libpam-freerdp], [0.0.1])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([1.11 -Wno-portability])
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 65f877d10b3da172a4bef124b2184db9f2d1cf4c (commit)
from 05eabb5092b8d0d2e71045e8e838985dcabd5457 (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:
The diff of …
[View More]changes is:
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 fb842c6866ce962d332b2a17d3e070de1fd6f119 (commit)
from 8312e8df8682ebf7b8499b641c56844e617aeb9b (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:
configure.ac …
[View More]| 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
The diff of changes is:
diff --git a/configure.ac b/configure.ac
index 6bec53d..df6dd2d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([libpam-freerdp], [0.0.1])
+AC_INIT([libpam-freerdp], [0.0.2])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([1.11 -Wno-portability])
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 09cc9a1f35d8a4b847e9982745c65c7408f72999 (commit)
from dfbd12d4d9e5af664330aff4bd31443f271d444c (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:
configure.ac …
[View More]| 2 ++
1 file changed, 2 insertions(+)
The diff of changes is:
diff --git a/configure.ac b/configure.ac
index 7e8ec5d..6bec53d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,6 +7,8 @@ AM_SILENT_RULES([yes])
AC_PROG_CC
AC_PROG_LIBTOOL
+LT_INIT([disable-static])
+
###########################
# PAM
###########################
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 200ccab9283410f1ddf65cce7d0f1b77dc5dcbcf (commit)
from 35dc28b34f75794f4e88add4298032d236b167e1 (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-…
[View More]freerdp.c | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
The diff of changes is:
diff --git a/src/pam-freerdp.c b/src/pam-freerdp.c
index d8c6703..7bd2657 100644
--- a/src/pam-freerdp.c
+++ b/src/pam-freerdp.c
@@ -3,6 +3,8 @@
#include <string.h>
#include <unistd.h>
#include <sys/wait.h>
+#include <sys/types.h>
+#include <pwd.h>
#include <security/pam_modules.h>
#include <security/pam_modutil.h>
@@ -108,20 +110,24 @@ pam_sm_authenticate (pam_handle_t *pamh, int flags, int argc, const char **argv)
case 0: { /* child */
dup2(stdinpipe[0], 0);
- char * args[8];
+ char * args[7];
args[0] = XFREERDP;
args[1] = "--plugin";
args[2] = "rdpsnd.so";
args[3] = "--no-nla";
args[4] = "-f";
- args[5] = "--ignore-certificate"; /* TODO: Change when we set the home directory properly */
- args[6] = "--from-stdin";
-
- args[7] = NULL;
+ args[5] = "--from-stdin";
+ args[6] = NULL;
+
+ struct passwd * pwdent = getpwnam(username);
+ if (pwdent == NULL) {
+ _exit(-1);
+ }
+
+ setenv("HOME", pwdent->pw_dir, 1);
/* TODO: Drop privs */
- /* TODO: Home directory environment to user's home */
execvp(args[0], args);
_exit(EXIT_FAILURE);
break;
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 ec14991fdc6915a88cd213e37ab776b6e28ce738 (commit)
from fb842c6866ce962d332b2a17d3e070de1fd6f119 (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-…
[View More]freerdp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
The diff of changes is:
diff --git a/src/pam-freerdp.c b/src/pam-freerdp.c
index edf9eca..a1e2bfa 100644
--- a/src/pam-freerdp.c
+++ b/src/pam-freerdp.c
@@ -48,13 +48,13 @@ get_item (pam_handle_t * pamh, int type)
return NULL;
}
- struct pam_conv conv;
+ struct pam_conv * conv;
if (pam_get_item(pamh, PAM_CONV, (const void **)&conv) != PAM_SUCCESS) {
return NULL;
}
struct pam_response * responses = NULL;
- if (conv.conv(1, (const struct pam_message **)&message, &responses, conv.appdata_ptr) != PAM_SUCCESS) {
+ if (conv->conv(1, (const struct pam_message **)&message, &responses, conv->appdata_ptr) != PAM_SUCCESS) {
return NULL;
}
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 created
at 6b8fc6c1845aa0df788c37d997a7e11a7fdabba9 (commit)
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
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-…
[View More]x2go.git" (Remote login session via X2Go (PAM module)).
[View Less]