Use gss_display_name() instead of gss_export_name() to get only the user's name witho...
authorkouril <kouril>
Mon, 11 Aug 2003 11:27:49 +0000 (11:27 +0000)
committerkouril <kouril>
Mon, 11 Aug 2003 11:27:49 +0000 (11:27 +0000)
src/mod_auth_kerb.c

index 79449bc..c035c6e 100644 (file)
@@ -825,7 +825,7 @@ authenticate_user_gss(request_rec *r,
      goto end;
   }
 
-  major_status = gss_export_name(&minor_status, client_name, &output_token);
+  major_status = gss_display_name(&minor_status, client_name, &output_token, NULL);
   gss_release_name(&minor_status, &client_name); 
   if (GSS_ERROR(major_status)) {
     log_rerror(APLOG_MARK, APLOG_ERR, 0, r,