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

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


The branch, build-main has been updated
       via  fd92d9b4252d98acab56a9b60ea5d3bdc2ecc404 (commit)
      from  497c3e3ff6b0055e40fa5fad3db248a48902f40a (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.am   |   17 +++++++++++++++++
 src/pam-freerdp.c |   34 ++++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)
 create mode 100644 src/pam-freerdp.c

The diff of changes is:
diff --git a/src/Makefile.am b/src/Makefile.am
index e69de29..a63960c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -0,0 +1,17 @@
+
+pamlibdir = $(PAMMODULEDIR)
+pamlib_LTLIBRARIES = pam-freerdp.la
+
+pam_freerdp_la_SOURCES = \
+	pam-freerdp.c
+
+pam_freerdp_la_LDFLAGS = \
+	-no-undefined \
+	-module \
+	-avoid-version
+
+pam_freerdp_la_LIBADD = \
+	-lpam
+
+pam_freerdp_la_CFLAGS = \
+	-Wall -Werror
diff --git a/src/pam-freerdp.c b/src/pam-freerdp.c
new file mode 100644
index 0000000..6466a06
--- /dev/null
+++ b/src/pam-freerdp.c
@@ -0,0 +1,34 @@
+#include <security/pam_modules.h>
+#include <security/pam_modutil.h>
+
+PAM_EXTERN int
+pam_sm_authenticate (pam_handle_t *pamh, int flags, int argc, const char **argv)
+{
+	return PAM_IGNORE;
+}
+
+PAM_EXTERN int
+pam_sm_open_session (pam_handle_t *pamh, int flags, int argc, const char **argv)
+{
+     return PAM_IGNORE;
+}
+
+PAM_EXTERN int
+pam_sm_close_session (pam_handle_t *pamh, int flags, int argc, const char **argv)
+{
+	return PAM_IGNORE;
+}
+
+#ifdef PAM_STATIC
+
+struct pam_module _pam_temp_account_modstruct = {
+     "pam-freerdp",
+     pam_sm_authenticate,
+     NULL,
+     NULL,
+     pam_sm_open_session,
+     pam_sm_close_session,
+     NULL,
+};
+
+#endif


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