199 lines
4.7 KiB
HTML
199 lines
4.7 KiB
HTML
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
|
||
|
<title>gss_display_name()--Get Textual Representation of Internal GSS
|
||
|
Name</title>
|
||
|
<!-- Begin Header Records ========================================== -->
|
||
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
||
|
<!-- US Government Users Restricted Rights -->
|
||
|
<!-- Use, duplication or disclosure restricted by -->
|
||
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
||
|
<!-- Change History: -->
|
||
|
<!-- Edited by Kersten Jan 02 -->
|
||
|
<!-- Created by Kent Hofer for V5R1 -->
|
||
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
<!-- End Header Records ============================================ -->
|
||
|
<!--Java sync-link-->
|
||
|
<script type="text/javascript" language="Javascript" src="../rzahg/synch.js">
|
||
|
</script>
|
||
|
|
||
|
<a name="Top_Of_Page"></a>
|
||
|
|
||
|
<h2>gss_display_name()--Get Textual Representation of Internal GSS Name</h2>
|
||
|
|
||
|
<div class="box" style="width: 60%;">
|
||
|
<br>
|
||
|
Syntax
|
||
|
|
||
|
<pre>
|
||
|
#include <gssapi.h>
|
||
|
|
||
|
OM_uint32 gss_display_name(
|
||
|
OM_uint32 * <em>minor_status</em>,
|
||
|
gss_name_t <em>input_name</em>,
|
||
|
gss_buffer_t <em>output_name_buffer</em>,
|
||
|
gss_OID * <em>output_name_type</em>);
|
||
|
</pre>
|
||
|
|
||
|
Service Program Name: QSYS/QKRBGSS<br>
|
||
|
<!-- iddvc RMBR -->
|
||
|
<br>
|
||
|
Default public authority: *USE<br>
|
||
|
<!-- iddvc RMBR -->
|
||
|
<br>
|
||
|
Threadsafe: Yes<br>
|
||
|
<!-- iddvc RMBR -->
|
||
|
<br>
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<p>The <strong>gss_display_name()</strong> function returns the textual
|
||
|
representation of an opaque internal name. The syntax of the text
|
||
|
representation is determined by the mechanism that was used to convert the
|
||
|
name.</p>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
|
||
|
<h3>Parameters</h3>
|
||
|
|
||
|
<dl>
|
||
|
<dt><strong>minor_status</strong> (Output)</dt>
|
||
|
|
||
|
<dd>A status code from the security mechanism.<br>
|
||
|
<br>
|
||
|
</dd>
|
||
|
|
||
|
<dt><strong>input_name</strong> (Input)</dt>
|
||
|
|
||
|
<dd>The internal name to be converted to a text string.<br>
|
||
|
<br>
|
||
|
</dd>
|
||
|
|
||
|
<dt><strong>output_name_buffer</strong> (Output)</dt>
|
||
|
|
||
|
<dd>Return buffer for the character string.<br>
|
||
|
<br>
|
||
|
</dd>
|
||
|
|
||
|
<dt><strong>output_name_type</strong> (Output)</dt>
|
||
|
|
||
|
<dd>The name type corresponding to the returned character string. The gss_OID
|
||
|
value returned for this parameter points to read-only storage and must not be
|
||
|
released by the application.</dd>
|
||
|
</dl>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
|
||
|
<h3>Return Value</h3>
|
||
|
|
||
|
<p>The return value is one of the following status codes:</p>
|
||
|
|
||
|
<dl>
|
||
|
<dt><strong>GSS_S_BAD_NAME</strong></dt>
|
||
|
|
||
|
<dd>The provided name is not valid.<br>
|
||
|
<br>
|
||
|
</dd>
|
||
|
|
||
|
<dt><strong>GSS_S_BAD_NAMETYPE</strong></dt>
|
||
|
|
||
|
<dd>The internal name provided does not have an internal representation for any
|
||
|
of the supported mechanisms.<br>
|
||
|
<br>
|
||
|
</dd>
|
||
|
|
||
|
<dt><strong>GSS_S_COMPLETE</strong></dt>
|
||
|
|
||
|
<dd>The routine completed successfully.<br>
|
||
|
<br>
|
||
|
</dd>
|
||
|
|
||
|
<dt><strong>GSS_S_FAILURE</strong></dt>
|
||
|
|
||
|
<dd>The routine failed for reasons that are not defined at the GSS level. The
|
||
|
<em>minor_status</em> return parameter contains a mechanism-dependent error
|
||
|
code describing the reason for the failure.</dd>
|
||
|
</dl>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
|
||
|
<h3>Authorities</h3>
|
||
|
|
||
|
<table border width="80%">
|
||
|
<tr>
|
||
|
<th align="left" valign="bottom">Object Referred to</th>
|
||
|
<th align="center" valign="bottom">Data Authority Required</th>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" valign="top">Each directory in the path name preceding the
|
||
|
configuration file</td>
|
||
|
<td align="center" valign="top">*X</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">Configuration file</td>
|
||
|
<td align="center" valign="top">*R</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
|
||
|
<h3>Error Messages</h3>
|
||
|
|
||
|
<table width="100%" cellpadding="5">
|
||
|
<tr>
|
||
|
<th align="left" valign="top">Message ID</th>
|
||
|
<th align="left" valign="top">Error Message Text</th>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td width="15%" valign="top">CPE3418 E</td>
|
||
|
<td width="85%" valign="top">Possible APAR condition or hardware failure.</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
|
||
|
<h3>Usage Notes</h3>
|
||
|
|
||
|
<ol>
|
||
|
<li>Kerberos names are formatted as <strong>principal-name@realm-name</strong>.
|
||
|
|
||
|
|
||
|
<p>Not every coded character set identifier (CCSID) contains the '@' character;
|
||
|
however, alternative CCSID values often are available. For example, instead of
|
||
|
using Greece 423, run the job with a default CCSID of 875.</p>
|
||
|
</li>
|
||
|
</ol>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
|
||
|
<hr>
|
||
|
API introduced: V5R1
|
||
|
|
||
|
<hr>
|
||
|
<center>
|
||
|
<table cellpadding="2" cellspacing="2">
|
||
|
<tr align="center">
|
||
|
<td valign="middle" align="center"><a href="#Top_Of_Page">Top</a> | <a href=
|
||
|
"sec.htm">Security APIs</a> <br>
|
||
|
<a href="unix.htm">UNIX-Type APIs</a> | <a href="aplist.htm">APIs by
|
||
|
category</a> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</center>
|
||
|
</body>
|
||
|
</html>
|
||
|
|