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

X2Go dev team git-admin at x2go.org
Fri Nov 9 15:53:58 CET 2012


The branch, master has been updated
       via  afd75ad6e7353df58d2a55376cc54ab8423e09e7 (commit)
      from  486c6e8d4af82c1c8eb90d61da6e3acf9db4179e (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 afd75ad6e7353df58d2a55376cc54ab8423e09e7
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Fri Nov 9 15:53:19 2012 +0100

    add log verbosity

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

Summary of changes:
 src/x2go-auth-check.c |    4 ++++
 1 file changed, 4 insertions(+)

The diff of changes is:
diff --git a/src/x2go-auth-check.c b/src/x2go-auth-check.c
index ac4ef2e..936bea9 100644
--- a/src/x2go-auth-check.c
+++ b/src/x2go-auth-check.c
@@ -26,6 +26,8 @@
 int
 main (int argc, char * argv[])
 {
+	int verbosity = SSH_LOG_PROTOCOL;
+
 	char password[512];
 	if (argc != 4) {
 		printf("Not enough params");
@@ -48,6 +50,7 @@ main (int argc, char * argv[])
 
 	ssh_session auth_check_ssh_session = ssh_new();
 
+	ssh_options_set ( auth_check_ssh_session, SSH_OPTIONS_LOG_VERBOSITY, &verbosity );
 	ssh_options_set ( auth_check_ssh_session, SSH_OPTIONS_HOST, &argv[1] );
 	ssh_options_set ( auth_check_ssh_session, SSH_OPTIONS_USER, &argv[2] );
 
@@ -69,6 +72,7 @@ main (int argc, char * argv[])
 
 	int rc;
 	rc = ssh_connect (auth_check_ssh_session);
+	printf ("%i\n", rc);
 	if ( rc != SSH_OK ) {
 		ssh_free(auth_check_ssh_session);
 		return -1;


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