/usr/share/gtk-doc/html/gss/gss-ext.html is in gss-doc 1.0.3-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GNU Generic Security Service (GSS) API Reference Manual: ext</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="GNU Generic Security Service (GSS) API Reference Manual">
<link rel="up" href="intro.html" title="GNU Generic Security Service (GSS) API Reference Manual">
<link rel="prev" href="gss-api.html" title="api">
<link rel="next" href="gss-krb5.html" title="krb5">
<meta name="generator" content="GTK-Doc V1.21 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
<a href="#gss-ext.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="intro.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="gss-api.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="gss-krb5.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="gss-ext"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gss-ext.top_of_page"></a>ext</span></h2>
<p>ext</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="gss-ext.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="gss-ext.html#gss-check-version" title="gss_check_version ()">gss_check_version</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">int</span>
</td>
<td class="function_name">
<a class="link" href="gss-ext.html#gss-userok" title="gss_userok ()">gss_userok</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="gss-ext.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="variable_type">extern gss_OID_desc </td>
<td class="function_name"><a class="link" href="gss-ext.html#GSS-C-NT-USER-NAME-static" title="GSS_C_NT_USER_NAME_static">GSS_C_NT_USER_NAME_static</a></td>
</tr>
<tr>
<td class="variable_type">extern gss_OID_desc </td>
<td class="function_name"><a class="link" href="gss-ext.html#GSS-C-NT-MACHINE-UID-NAME-static" title="GSS_C_NT_MACHINE_UID_NAME_static">GSS_C_NT_MACHINE_UID_NAME_static</a></td>
</tr>
<tr>
<td class="variable_type">extern gss_OID_desc </td>
<td class="function_name"><a class="link" href="gss-ext.html#GSS-C-NT-STRING-UID-NAME-static" title="GSS_C_NT_STRING_UID_NAME_static">GSS_C_NT_STRING_UID_NAME_static</a></td>
</tr>
<tr>
<td class="variable_type">extern gss_OID_desc </td>
<td class="function_name"><a class="link" href="gss-ext.html#GSS-C-NT-HOSTBASED-SERVICE-X-static" title="GSS_C_NT_HOSTBASED_SERVICE_X_static">GSS_C_NT_HOSTBASED_SERVICE_X_static</a></td>
</tr>
<tr>
<td class="variable_type">extern gss_OID_desc </td>
<td class="function_name"><a class="link" href="gss-ext.html#GSS-C-NT-HOSTBASED-SERVICE-static" title="GSS_C_NT_HOSTBASED_SERVICE_static">GSS_C_NT_HOSTBASED_SERVICE_static</a></td>
</tr>
<tr>
<td class="variable_type">extern gss_OID_desc </td>
<td class="function_name"><a class="link" href="gss-ext.html#GSS-C-NT-ANONYMOUS-static" title="GSS_C_NT_ANONYMOUS_static">GSS_C_NT_ANONYMOUS_static</a></td>
</tr>
<tr>
<td class="variable_type">extern gss_OID_desc </td>
<td class="function_name"><a class="link" href="gss-ext.html#GSS-C-NT-EXPORT-NAME-static" title="GSS_C_NT_EXPORT_NAME_static">GSS_C_NT_EXPORT_NAME_static</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="gss-ext.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="gss-ext.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gss-check-version"></a><h3>gss_check_version ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
gss_check_version (<em class="parameter"><code>const <span class="type">char</span> *req_version</code></em>);</pre>
<p>Check that the version of the library is at minimum the one
given as a string in <em class="parameter"><code>req_version</code></em>
.</p>
<p>WARNING: This function is a GNU GSS specific extension, and is not
part of the official GSS API.</p>
<div class="refsect3">
<a name="id-1.2.7.6.2.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>req_version</p></td>
<td class="parameter_description"><p>version string to compare with, or NULL</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.7.6.2.7"></a><h4>Returns</h4>
<p> The actual version string of the library; NULL if the
condition is not met. If NULL is passed to this function no
check is done and only the version string is returned.</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gss-userok"></a><h3>gss_userok ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>
gss_userok (<em class="parameter"><code>const <a class="link" href="gss-api.html#gss-name-t" title="gss_name_t"><span class="type">gss_name_t</span></a> name</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *username</code></em>);</pre>
<p>Compare the username against the output from <a class="link" href="gss-api.html#gss-export-name" title="gss_export_name ()"><code class="function">gss_export_name()</code></a>
invoked on <em class="parameter"><code>name</code></em>
, after removing the leading OID. This answers the
question whether the particular mechanism would authenticate them
as the same principal</p>
<p>WARNING: This function is a GNU GSS specific extension, and is not
part of the official GSS API.</p>
<div class="refsect3">
<a name="id-1.2.7.6.3.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>(gss_name_t, read) Name to be compared.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>username</p></td>
<td class="parameter_description"><p>Zero terminated string with username.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.7.6.3.7"></a><h4>Returns</h4>
<p> Returns 0 if the names match, non-0 otherwise.</p>
<p></p>
</div>
</div>
</div>
<div class="refsect1">
<a name="gss-ext.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GSS-C-NT-USER-NAME-static"></a><h3>GSS_C_NT_USER_NAME_static</h3>
<pre class="programlisting">extern gss_OID_desc GSS_C_NT_USER_NAME_static;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-NT-MACHINE-UID-NAME-static"></a><h3>GSS_C_NT_MACHINE_UID_NAME_static</h3>
<pre class="programlisting">extern gss_OID_desc GSS_C_NT_MACHINE_UID_NAME_static;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-NT-STRING-UID-NAME-static"></a><h3>GSS_C_NT_STRING_UID_NAME_static</h3>
<pre class="programlisting">extern gss_OID_desc GSS_C_NT_STRING_UID_NAME_static;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-NT-HOSTBASED-SERVICE-X-static"></a><h3>GSS_C_NT_HOSTBASED_SERVICE_X_static</h3>
<pre class="programlisting">extern gss_OID_desc GSS_C_NT_HOSTBASED_SERVICE_X_static;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-NT-HOSTBASED-SERVICE-static"></a><h3>GSS_C_NT_HOSTBASED_SERVICE_static</h3>
<pre class="programlisting">extern gss_OID_desc GSS_C_NT_HOSTBASED_SERVICE_static;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-NT-ANONYMOUS-static"></a><h3>GSS_C_NT_ANONYMOUS_static</h3>
<pre class="programlisting">extern gss_OID_desc GSS_C_NT_ANONYMOUS_static;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GSS-C-NT-EXPORT-NAME-static"></a><h3>GSS_C_NT_EXPORT_NAME_static</h3>
<pre class="programlisting">extern gss_OID_desc GSS_C_NT_EXPORT_NAME_static;
</pre>
<p>
</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.21</div>
</body>
</html>
|