tr_tids_gss_handler: print auth name
authorSam Hartman <hartmans@debian.org>
Thu, 30 Jan 2014 16:02:45 +0000 (11:02 -0500)
committerSam Hartman <hartmans@debian.org>
Thu, 30 Jan 2014 16:02:45 +0000 (11:02 -0500)
Print the name  we authenticated to.

tr/tr_main.c

index 8b42b0d..c1bf619 100644 (file)
@@ -234,6 +234,7 @@ static int tr_tids_gss_handler(gss_name_t client_name, TR_NAME *gss_name,
   /* Store the rp client in the TR_INSTANCE structure for now... 
    * TBD -- fix me for new tasking model. */
   ((TR_INSTANCE *)tr)->rp_gss = rp;
+  fprintf( stderr, "Client's GSS Name: %s\n", gss_name->buf);
   return 0;
 }