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

X2Go dev team git-admin at x2go.org
Sat Nov 10 15:07:15 CET 2012


The branch, master has been updated
       via  b67134913d2690234a4bd962604b3bb1dce8eb50 (commit)
      from  d247820998c72166a242c736a7a92aa6c60d769e (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 b67134913d2690234a4bd962604b3bb1dce8eb50
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sat Nov 10 15:05:13 2012 +0100

    Set PAM_SM_AUTH and PAM_SM_SESSION before including security/pam_modules.h.

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

Summary of changes:
 debian/changelog |    2 ++
 src/pam-x2go.c   |    2 ++
 2 files changed, 4 insertions(+)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index d52b6c8..09899ad 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ libpam-x2go (0.0.0.1-0~x2go1) UNRELEASED; urgency=low
   * Adaptations of the forked original to work with X2Go:
     - Check the authentication token via libssh (ssh login to the remote
       server).
+    - Set PAM_SM_AUTH and PAM_SM_SESSION before including
+      security/pam_modules.h.
   * /debian/rules:
     - Override auto_build with our own automake mechanism.
   * /debian/control:
diff --git a/src/pam-x2go.c b/src/pam-x2go.c
index 6110da2..dce022f 100644
--- a/src/pam-x2go.c
+++ b/src/pam-x2go.c
@@ -30,6 +30,8 @@
 #include <grp.h>
 #include <errno.h>
 
+#define PAM_SM_AUTH
+#define PAM_SM_SESSION
 #include <security/pam_modules.h>
 #include <security/pam_modutil.h>
 #include <security/pam_appl.h>


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