Project

General

Profile

Actions

Bug #15023

open

__rpc_gss_seccreate() doesn't set options_ret->major/minor_status on failure

Added by Matt Barden about 2 months ago. Updated about 2 months ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
nfs - NFS server and client
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

As part of testing #15022, I created a utility to establish an RPCSEC_GSS context. It uses the optional argument to __rpc_gss_secreate() 'options_ret' so that it can print GSS error information if establishment fails for some reason. However, what it prints out is actually not that useful:

creating GSS ctx failed
failed with errno 7
no GSS error info

It turns out that __rpc_gss_seccreate() doesn't actually set the major/minor_status arguments on failure. It would be nice if it did that.

Tested using the utility in #15022 to connect to a server where gssd is disabled.


Related issues

Related to illumos gate - Bug #15022: rpcsec_gss always calls global-zone GSSD for gss_accept_sec_contextIn ProgressMatt Barden

Actions
Actions #1

Updated by Electric Monk about 2 months ago

  • Gerrit CR set to 2401
Actions #2

Updated by Marcel Telka about 2 months ago

  • Related to Bug #15022: rpcsec_gss always calls global-zone GSSD for gss_accept_sec_context added
Actions

Also available in: Atom PDF