876 lines
24 KiB
HTML
876 lines
24 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>Start NetWare Connection (QfpzStrNtwCnn) API</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. -->
|
||
|
<!-- Sec SCRIPT A converted by B2H R4.1 (346) (CMS) by V2KEA304 -->
|
||
|
<!-- at RCHVMW2 on 17 Feb 1999 at 11:05:09 -->
|
||
|
<!-- Change History: -->
|
||
|
<!-- YYMMDD USERID Change description -->
|
||
|
<!-- Edited by Kersten Jan 02 -->
|
||
|
<!--End Header Records -->
|
||
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
<a name="Top_Of_Page"></a>
|
||
|
<!-- Java sync-link -->
|
||
|
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript">
|
||
|
</script>
|
||
|
|
||
|
<h2>Start NetWare Connection (QfpzStrNtwCnn) API</h2>
|
||
|
|
||
|
<div class="box" style="width: 80%;">
|
||
|
<br>
|
||
|
Required Parameter Group:<br>
|
||
|
<!-- iddvc RMBR -->
|
||
|
<br>
|
||
|
<table width="100%">
|
||
|
<tr>
|
||
|
<td align="center" valign="top" width="10%">1</td>
|
||
|
<td align="left" valign="top" width="50%">Connection data</td>
|
||
|
<td align="left" valign="top" width="20%">Input</td>
|
||
|
<td align="left" valign="top" width="20%">Char(*)</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">2</td>
|
||
|
<td align="left" valign="top">Length of connection data</td>
|
||
|
<td align="left" valign="top">Input</td>
|
||
|
<td align="left" valign="top">Binary(4)</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">3</td>
|
||
|
<td align="left" valign="top">Connection data format name</td>
|
||
|
<td align="left" valign="top">Input</td>
|
||
|
<td align="left" valign="top">Char(8)</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">4</td>
|
||
|
<td align="left" valign="top">Error code</td>
|
||
|
<td align="left" valign="top">I/O</td>
|
||
|
<td align="left" valign="top">Char(*)</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<br>
|
||
|
Default Public Authority: *USE<br>
|
||
|
<!-- iddvc RMBR -->
|
||
|
<br>
|
||
|
Library Name/Service Program: QFPNTWE/QFPZAAPI<br>
|
||
|
<!-- iddvc RMBR -->
|
||
|
<br>
|
||
|
Threadsafe: No<br>
|
||
|
<!-- iddvc RMBR -->
|
||
|
<br>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<p>The Start NetWare Connection (QfpzStrNtwCnn) API establishes the caller as
|
||
|
an authenticated user of the specified server. This API could be used to:</p>
|
||
|
|
||
|
<ul>
|
||
|
<li>Start a connection to a server for which a user has no authentication
|
||
|
entry</li>
|
||
|
|
||
|
<li>Start a connection when the authentication entry has the password special
|
||
|
value *STRNTWCNN
|
||
|
|
||
|
<p>An authentication entry may have the value *STRNTWCNN because the QRETSVRSEC
|
||
|
system value does not allow retrieving security data such as passwords.</p>
|
||
|
</li>
|
||
|
|
||
|
<li>Start a connection to a server by using a different NetWare user name than
|
||
|
is specified in the authentication entry for that server</li>
|
||
|
</ul>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
|
||
|
<p>If an authentication entry for the server exists and contains a valid
|
||
|
password and user name, the system starts a connection to the server when
|
||
|
needed, and this API need not be used.</p>
|
||
|
|
||
|
<p>Connections may only be used by the specified user and job. The job may be
|
||
|
either the current job (value 1 for the authorized job field) or any job (value
|
||
|
2 for the authorized job field) on the system. If any job is specified, all
|
||
|
jobs that are running under the specified user profile can use the connection.
|
||
|
If a connection for a user profile and job exists, that connection is used.
|
||
|
Otherwise, an any-job connection for the user profile is used. A current-job
|
||
|
connection might be used, for example, when a job uses a connection with a
|
||
|
different NetWare user name than other jobs on the system. An any-job
|
||
|
connection is required for certain functions, for example, printing to a
|
||
|
NetWare print server.</p>
|
||
|
|
||
|
<p>NetWare backup services require a separate authentication. To support this,
|
||
|
the connection type field specifies whether a normal login (*USER connection)
|
||
|
or a backup services authentication (*SAVRST connection) is to be
|
||
|
performed.</p>
|
||
|
|
||
|
<p>A user profile can only have one connection per job to a server (either
|
||
|
NetWare 3.x server or a server within a NetWare Directory Services (NDS) tree)
|
||
|
at any given time. Connections may be started to all servers within an NDS
|
||
|
tree, for example, when copying from one server to another. If connections to
|
||
|
multiple servers are open, operations that do not require a specific server use
|
||
|
the first connection started.</p>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
|
||
|
<h3>Authorities and Locks</h3>
|
||
|
|
||
|
<dl>
|
||
|
<dt><em>User Profile Authority</em></dt>
|
||
|
|
||
|
<dd>*USE</dd>
|
||
|
</dl>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
|
||
|
<h3><a name="HDRSSCNRPG">Required Parameter Group</a></h3>
|
||
|
|
||
|
<dl>
|
||
|
<dt><strong>Connection data</strong></dt>
|
||
|
|
||
|
<dd>INPUT; CHAR(*)
|
||
|
|
||
|
<p>The server and user name for the connection to be started. The content and
|
||
|
format of this structure are determined by the format name. See <a href=
|
||
|
"#HDRSSCNFMT">Format of Connection Data</a> for a description of these
|
||
|
formats.</p>
|
||
|
</dd>
|
||
|
|
||
|
<dt><strong>Length of connection data</strong></dt>
|
||
|
|
||
|
<dd>INPUT; BINARY(4)
|
||
|
|
||
|
<p>The length of the connection data structure.</p>
|
||
|
</dd>
|
||
|
|
||
|
<dt><strong>Connection data format name</strong></dt>
|
||
|
|
||
|
<dd>INPUT; CHAR(8)
|
||
|
|
||
|
<p>The content and format of the input data. Several formats are provided. Each
|
||
|
format corresponds to a type of server.</p>
|
||
|
|
||
|
<p>The possible format names follow:</p>
|
||
|
|
||
|
<table cellpadding="5">
|
||
|
<!-- cols="30 70" -->
|
||
|
<tr>
|
||
|
<td valign="top"><em><a href="#HDRSSCN1">SVRC0100</a></em></td>
|
||
|
<td valign="top">Start a connection to a NetWare Version 3.x server.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top"><em><a href="#HDRSSCN2">SVRC0200</a></em></td>
|
||
|
<td valign="top">Start a connection to a server in a NetWare Directory Services
|
||
|
tree.</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<br>
|
||
|
</dd>
|
||
|
|
||
|
<dt><strong>Error code</strong></dt>
|
||
|
|
||
|
<dd>I/O; CHAR(*)
|
||
|
|
||
|
<p>The structure in which to return error information. For the format of the
|
||
|
structure, see <a href="../apiref/error.htm#hdrerrcod">Error Code Parameter</a>.</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
|
||
|
<h3><a name="HDRSSCNFMT">Format of Connection Data</a></h3>
|
||
|
|
||
|
<p>For details about the format of the connection data, see the following
|
||
|
sections. For details about the fields in each format, see <a href=
|
||
|
"#HDRSSCNFLD">Field Descriptions</a>.</p>
|
||
|
|
||
|
<h4><a name="HDRSSCN1">SVRC0100 Format (NetWare Version 3.x Server)</a></h4>
|
||
|
|
||
|
<table border width="80%">
|
||
|
<tr>
|
||
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
||
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
||
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<th align="center" valign="bottom">Dec</th>
|
||
|
<th align="center" valign="bottom">Hex</th>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top" width="10%">0</td>
|
||
|
<td align="center" valign="top" width="10%">0</td>
|
||
|
<td align="left" valign="top" width="20%">BINARY(4)</td>
|
||
|
<td align="left" valign="top" width="60%">Offset to server name</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">0</td>
|
||
|
<td align="center" valign="top">0</td>
|
||
|
<td align="left" valign="top">BINARY(4)</td>
|
||
|
<td align="left" valign="top">Offset to server name</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">4</td>
|
||
|
<td align="center" valign="top">4</td>
|
||
|
<td align="left" valign="top">BINARY(4)</td>
|
||
|
<td align="left" valign="top">Length of server name</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">8</td>
|
||
|
<td align="center" valign="top">8</td>
|
||
|
<td align="left" valign="top">BINARY(4)</td>
|
||
|
<td align="left" valign="top">Offset to NetWare user name</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">12</td>
|
||
|
<td align="center" valign="top">C</td>
|
||
|
<td align="left" valign="top">BINARY(4)</td>
|
||
|
<td align="left" valign="top">Length of NetWare user name</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">16</td>
|
||
|
<td align="center" valign="top">10</td>
|
||
|
<td align="left" valign="top">BINARY(4)</td>
|
||
|
<td align="left" valign="top">Offset to password</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">20</td>
|
||
|
<td align="center" valign="top">14</td>
|
||
|
<td align="left" valign="top">BINARY(4)</td>
|
||
|
<td align="left" valign="top">Length of password</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">24</td>
|
||
|
<td align="center" valign="top">18</td>
|
||
|
<td align="left" valign="top">BINARY(4)</td>
|
||
|
<td align="left" valign="top">Offset to connection type list</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">28</td>
|
||
|
<td align="center" valign="top">1C</td>
|
||
|
<td align="left" valign="top">BINARY(4)</td>
|
||
|
<td align="left" valign="top">Number of entries in connection type list</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">32</td>
|
||
|
<td align="center" valign="top">20</td>
|
||
|
<td align="left" valign="top">BINARY(4)</td>
|
||
|
<td align="left" valign="top">Authorized job</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">36</td>
|
||
|
<td align="center" valign="top">24</td>
|
||
|
<td align="left" valign="top">BINARY(4)</td>
|
||
|
<td align="left" valign="top">Connection idle time</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">40</td>
|
||
|
<td align="center" valign="top">28</td>
|
||
|
<td align="left" valign="top">CHAR(10)</td>
|
||
|
<td align="left" valign="top">User profile name</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">50</td>
|
||
|
<td align="center" valign="top">32</td>
|
||
|
<td align="left" valign="top">CHAR(6)</td>
|
||
|
<td align="left" valign="top">Reserved</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top"> </td>
|
||
|
<td align="center" valign="top"> </td>
|
||
|
<td align="left" valign="top">CHAR(*)</td>
|
||
|
<td align="left" valign="top">Server name</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top"> </td>
|
||
|
<td align="center" valign="top"> </td>
|
||
|
<td align="left" valign="top">CHAR(*)</td>
|
||
|
<td align="left" valign="top">NetWare user name</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top"> </td>
|
||
|
<td align="center" valign="top"> </td>
|
||
|
<td align="left" valign="top">CHAR(*)</td>
|
||
|
<td align="left" valign="top">Password</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top" colspan="4"><strong>Note:</strong> The following
|
||
|
field is repeated for each connection type requested.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top"> </td>
|
||
|
<td align="center" valign="top"> </td>
|
||
|
<td align="left" valign="top">BINARY(4)</td>
|
||
|
<td align="left" valign="top">Connection type</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<br>
|
||
|
<br>
|
||
|
|
||
|
|
||
|
<h4><a name="HDRSSCN2">SVRC0200 Format (NetWare Directory Services
|
||
|
Tree)</a></h4>
|
||
|
|
||
|
<table border width="80%">
|
||
|
<tr>
|
||
|
<th align="center" valign="bottom" colspan="2">Offset</th>
|
||
|
<th align="left" valign="bottom" rowspan="2">Type</th>
|
||
|
<th align="left" valign="bottom" rowspan="2">Field</th>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<th align="center" valign="bottom">Dec</th>
|
||
|
<th align="center" valign="bottom">Hex</th>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top" width="10%">0</td>
|
||
|
<td align="center" valign="top" width="10%">0</td>
|
||
|
<td align="left" valign="top" width="20%">BINARY(4)</td>
|
||
|
<td align="left" valign="top" width="60%">Offset to NDS tree name</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">4</td>
|
||
|
<td align="center" valign="top">4</td>
|
||
|
<td align="left" valign="top">BINARY(4)</td>
|
||
|
<td align="left" valign="top">Length of NDS tree name</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">8</td>
|
||
|
<td align="center" valign="top">8</td>
|
||
|
<td align="left" valign="top">BINARY(4)</td>
|
||
|
<td align="left" valign="top">Offset to server name</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">12</td>
|
||
|
<td align="center" valign="top">C</td>
|
||
|
<td align="left" valign="top">BINARY(4)</td>
|
||
|
<td align="left" valign="top">Length of server name</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">16</td>
|
||
|
<td align="center" valign="top">10</td>
|
||
|
<td align="left" valign="top">BINARY(4)</td>
|
||
|
<td align="left" valign="top">Offset to NDS context</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">20</td>
|
||
|
<td align="center" valign="top">14</td>
|
||
|
<td align="left" valign="top">BINARY(4)</td>
|
||
|
<td align="left" valign="top">Length of NDS context</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">24</td>
|
||
|
<td align="center" valign="top">18</td>
|
||
|
<td align="left" valign="top">BINARY(4)</td>
|
||
|
<td align="left" valign="top">Offset to NetWare user name</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">28</td>
|
||
|
<td align="center" valign="top">1C</td>
|
||
|
<td align="left" valign="top">BINARY(4)</td>
|
||
|
<td align="left" valign="top">Length of NetWare user name</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">32</td>
|
||
|
<td align="center" valign="top">20</td>
|
||
|
<td align="left" valign="top">BINARY(4)</td>
|
||
|
<td align="left" valign="top">Offset to password</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">36</td>
|
||
|
<td align="center" valign="top">24</td>
|
||
|
<td align="left" valign="top">BINARY(4)</td>
|
||
|
<td align="left" valign="top">Length of password</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">40</td>
|
||
|
<td align="center" valign="top">28</td>
|
||
|
<td align="left" valign="top">BINARY(4)</td>
|
||
|
<td align="left" valign="top">Offset to connection type list</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">44</td>
|
||
|
<td align="center" valign="top">2C</td>
|
||
|
<td align="left" valign="top">BINARY(4)</td>
|
||
|
<td align="left" valign="top">Number of entries in connection type list</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">48</td>
|
||
|
<td align="center" valign="top">30</td>
|
||
|
<td align="left" valign="top">BINARY(4)</td>
|
||
|
<td align="left" valign="top">Authorized job</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">52</td>
|
||
|
<td align="center" valign="top">34</td>
|
||
|
<td align="left" valign="top">BINARY(4)</td>
|
||
|
<td align="left" valign="top">Connection idle time</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">56</td>
|
||
|
<td align="center" valign="top">38</td>
|
||
|
<td align="left" valign="top">CHAR(10)</td>
|
||
|
<td align="left" valign="top">User profile name</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">66</td>
|
||
|
<td align="center" valign="top">42</td>
|
||
|
<td align="left" valign="top">CHAR(6)</td>
|
||
|
<td align="left" valign="top">Reserved</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top"> </td>
|
||
|
<td align="center" valign="top"> </td>
|
||
|
<td align="left" valign="top">CHAR(*)</td>
|
||
|
<td align="left" valign="top">NDS tree name</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top"> </td>
|
||
|
<td align="center" valign="top"> </td>
|
||
|
<td align="left" valign="top">CHAR(*)</td>
|
||
|
<td align="left" valign="top">Server name</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top"> </td>
|
||
|
<td align="center" valign="top"> </td>
|
||
|
<td align="left" valign="top">CHAR(*)</td>
|
||
|
<td align="left" valign="top">NDS context</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top"> </td>
|
||
|
<td align="center" valign="top"> </td>
|
||
|
<td align="left" valign="top">CHAR(*)</td>
|
||
|
<td align="left" valign="top">NetWare user name</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top"> </td>
|
||
|
<td align="center" valign="top"> </td>
|
||
|
<td align="left" valign="top">CHAR(*)</td>
|
||
|
<td align="left" valign="top">Password</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top" colspan="4"><strong>Note:</strong> The following
|
||
|
field is repeated for each connection type requested.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top"> </td>
|
||
|
<td align="center" valign="top"> </td>
|
||
|
<td align="left" valign="top">BINARY(4)</td>
|
||
|
<td align="left" valign="top">Connection type</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<br>
|
||
|
<br>
|
||
|
|
||
|
|
||
|
<h3><a name="HDRSSCNFLD">Field Descriptions</a></h3>
|
||
|
|
||
|
<p><strong>Authorized job.</strong> The jobs authorized to use the
|
||
|
connection.</p>
|
||
|
|
||
|
<p>The following values may be specified:</p>
|
||
|
|
||
|
<table cellpadding="5">
|
||
|
<!-- cols="5 95" -->
|
||
|
<tr>
|
||
|
<td valign="top"><em>1</em></td>
|
||
|
<td valign="top">The connection can be used only by the <em>current job</em>.
|
||
|
The connection ends when the current job is ended, or when the connection is
|
||
|
ended by an end NetWare connection request.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top"><em>2</em></td>
|
||
|
<td valign="top">The connection can be used by <em>any job</em> on the system
|
||
|
that is running under the specified user profile. The connection must be
|
||
|
explicitly ended by an end NetWare connection request.</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<p><strong>Notes:</strong></p>
|
||
|
|
||
|
<ol>
|
||
|
<li>The QNETWARE file system requires a connection for the current job.</li>
|
||
|
|
||
|
<li>If no authentication entry exists, or the password in the authentication
|
||
|
entry is *STRNTWCNN, printing functions require that a connection for any job
|
||
|
(authorized job value is 2) be started.</li>
|
||
|
|
||
|
<li>If the authorized job value is 1 and user reclaims the QFPZAUT activation
|
||
|
group (RCLACTGRP command), the connection ends.</li>
|
||
|
|
||
|
<li>For either authorized job value, you may use the connection idle time value
|
||
|
to control when a connection ends.</li>
|
||
|
</ol>
|
||
|
|
||
|
<p><strong>Connection idle time.</strong> The idle time (in minutes) before a
|
||
|
connection is closed by the system. Idle time is the time between subsequent
|
||
|
requests. Valid values range from 1 minute through 9999 minutes.</p>
|
||
|
|
||
|
<p>The following special value may be specified:</p>
|
||
|
|
||
|
<table cellpadding="5">
|
||
|
<!-- cols="5 95" -->
|
||
|
<tr>
|
||
|
<td valign="top"><em>-1</em></td>
|
||
|
<td valign="top">There is no idle time. A connection is closed by the user, or
|
||
|
it is closed when the job has ended (if the authorized job value is 1).</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<p><strong>Connection type.</strong> The type of authentication to be
|
||
|
performed. NetWare backup services require a separate authentication in
|
||
|
addition to a normal user authentication.</p>
|
||
|
|
||
|
<p>The following values may be specified:</p>
|
||
|
|
||
|
<table cellpadding="5">
|
||
|
<!-- cols="5 95" -->
|
||
|
<tr>
|
||
|
<td valign="top"><em>1</em></td>
|
||
|
<td valign="top">A normal user authentication is done. The user can use
|
||
|
administrative and file system functions other than save and restore.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top"><em>2</em></td>
|
||
|
<td valign="top">Authentication to NetWare backup services is performed. This
|
||
|
option requires that the appropriate NetWare Loadable Module software
|
||
|
(TSA312.NLM, TSA410.NLM, or TSANDS.NLM, and SMDR.NLM) be loaded on the
|
||
|
server.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top"><em>-1</em></td>
|
||
|
<td valign="top">Perform both user and backup services authentications. If -1
|
||
|
is specified, it must be the only connection type value specified.</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<p><strong>Length of NDS context.</strong> The length, in bytes, of the NDS
|
||
|
context.</p>
|
||
|
|
||
|
<p><strong>Length of NDS tree name.</strong> The length, in bytes, of the NDS
|
||
|
tree name.</p>
|
||
|
|
||
|
<p><strong>Length of NetWare user name.</strong> The length, in bytes, of the
|
||
|
NetWare user name.</p>
|
||
|
|
||
|
<p><strong>Length of password.</strong> The length, in bytes, of the
|
||
|
password.</p>
|
||
|
|
||
|
<p><strong>Length of server name.</strong> The length, in bytes, of the server
|
||
|
name.</p>
|
||
|
|
||
|
<p><strong>NDS context.</strong> For NetWare Directory Services trees, the
|
||
|
directory context in which the user is defined.</p>
|
||
|
|
||
|
<p>The following special value may be used:</p>
|
||
|
|
||
|
<table cellpadding="5">
|
||
|
<!-- cols="10 90" -->
|
||
|
<tr>
|
||
|
<td valign="top"><em>*AUTE</em></td>
|
||
|
<td valign="top">Use the NDS context from the user profile authentication entry
|
||
|
for this NDS tree.</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<p><strong>NDS tree name.</strong> The name of the NetWare Directory Services
|
||
|
tree to which the connection is to be started.</p>
|
||
|
|
||
|
<p><strong>NetWare user name.</strong> The NetWare user name that is used to
|
||
|
authenticate the user to the server.</p>
|
||
|
|
||
|
<p>The following special values may be used:</p>
|
||
|
|
||
|
<table cellpadding="5">
|
||
|
<!-- cols="15 85" -->
|
||
|
<tr>
|
||
|
<td valign="top"><em>*USRPRF</em></td>
|
||
|
<td valign="top">Use the authorized i5/OS user profile name as the NetWare
|
||
|
user name.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top"><em>*AUTE</em></td>
|
||
|
<td valign="top">Use the NetWare user name from the user profile authentication
|
||
|
entry for this server or NDS tree.</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<p><strong>Number of entries in connection type list.</strong> The number of
|
||
|
connection type values in the connection type list. At least one value must be
|
||
|
specified.</p>
|
||
|
|
||
|
<p><strong>Offset to connection type list.</strong> The offset, in bytes, from
|
||
|
the start of the data area to the connection type values.</p>
|
||
|
|
||
|
<p><strong>Offset to NDS context.</strong> The offset, in bytes, from the start
|
||
|
of the data area to the NDS context.</p>
|
||
|
|
||
|
<p><strong>Offset to NDS tree name.</strong> The offset, in bytes, from the
|
||
|
start of the data area to the NDS tree name.</p>
|
||
|
|
||
|
<p><strong>Offset to NetWare user name.</strong> The offset, in bytes, from the
|
||
|
start of the data area to the NetWare user name.</p>
|
||
|
|
||
|
<p><strong>Offset to password.</strong> The offset, in bytes, from the start of
|
||
|
the data area to the password.</p>
|
||
|
|
||
|
<p><strong>Offset to server name.</strong> The offset, in bytes, from the start
|
||
|
of the data area to the server name.</p>
|
||
|
|
||
|
<p><strong>Password.</strong> The password that is used to authenticate the
|
||
|
user to the server.</p>
|
||
|
|
||
|
<p>The following special values may be used:</p>
|
||
|
|
||
|
<table cellpadding="5">
|
||
|
<!-- cols="10 90" -->
|
||
|
<tr>
|
||
|
<td valign="top"><em>*AUTE</em></td>
|
||
|
<td valign="top">Use the password from the user profile authentication entry
|
||
|
for this server or NDS tree.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top"><em>*NONE</em></td>
|
||
|
<td valign="top">No password is used to authenticate the user.</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<p><strong>Reserved.</strong> Set this field to binary zeros.</p>
|
||
|
|
||
|
<p><strong>Server name.</strong> The name of the server to which the connection
|
||
|
is to be started.</p>
|
||
|
|
||
|
<p>When you are connecting to a NetWare Version 3.x server, the server name
|
||
|
must be specified.</p>
|
||
|
|
||
|
<p>When you are connecting to a NetWare Directory Services tree, the connection
|
||
|
must be started on a server within the tree.</p>
|
||
|
|
||
|
<p>Either the server name or one of the following special values must be
|
||
|
specified:</p>
|
||
|
|
||
|
<table cellpadding="5">
|
||
|
<!-- cols="10 90" -->
|
||
|
<tr>
|
||
|
<td valign="top"><em>*ANY</em></td>
|
||
|
<td valign="top">Use any server within the specified NDS tree.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top"><em>*ALL</em></td>
|
||
|
<td valign="top">Start connections to all servers in the specified tree.</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<p><strong>User profile name.</strong> The i5/OS user profile name that is
|
||
|
authorized to use this connection.</p>
|
||
|
|
||
|
<p>The following special value may be used:</p>
|
||
|
|
||
|
<table cellpadding="5">
|
||
|
<!-- cols="15 85" -->
|
||
|
<tr>
|
||
|
<td valign="top"><em>*CURRENT</em></td>
|
||
|
<td valign="top">Jobs running under the current user profile are authorized to
|
||
|
use the connection.</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
|
||
|
<h3>Error Messages</h3>
|
||
|
|
||
|
<table width="100%" cellpadding="5">
|
||
|
<!-- cols="15 85" -->
|
||
|
<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">CPF2144 E</td>
|
||
|
<td width="85%" valign="top">Not authorized to &1 in &2 type
|
||
|
*&3.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top">CPF2217 E</td>
|
||
|
<td valign="top">Not authorized to user profile &1.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top">CPF24B4 E</td>
|
||
|
<td valign="top">Severe error while addressing parameter list.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top">CPF3C1D E</td>
|
||
|
<td valign="top">Length specified in parameter &1 not valid.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top">CPF3C21 E</td>
|
||
|
<td valign="top">Format name &1 is not valid.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top">CPF3C90 E</td>
|
||
|
<td valign="top">Literal value cannot be changed.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top">CPF3CF1 E</td>
|
||
|
<td valign="top">Error code parameter not valid.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top">CPF9872 E</td>
|
||
|
<td valign="top">Program or service program &1 in library &2 ended.
|
||
|
Reason code &3.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top">FPE0211 E</td>
|
||
|
<td valign="top">Parameter length &1 not valid for field &2.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top">FPE0212 E</td>
|
||
|
<td valign="top">Field offset and length not within data.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top">FPE0215 E</td>
|
||
|
<td valign="top">Could not find authentication entry for &1.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top">FPE021C E</td>
|
||
|
<td valign="top">Not able to contact server &1.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top">FPE0227 E</td>
|
||
|
<td valign="top">Server name *ANY or *ALL not allowed for server type.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top">FPE0230 E</td>
|
||
|
<td valign="top">Connection type -1 must be single value.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top">FPE0235 E</td>
|
||
|
<td valign="top">Error &2 connecting to server &3.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top">FPE0236 E</td>
|
||
|
<td valign="top">Value &1 not valid for authorized job.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top">FPE0237 E</td>
|
||
|
<td valign="top">Value &1 not valid for connection idle time.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top">FPE023C E</td>
|
||
|
<td valign="top">Server is not a &2 server. Server: &1.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top">FPE023D E</td>
|
||
|
<td valign="top">NDS tree not known to system. Tree: &1.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top">FPE023E E</td>
|
||
|
<td valign="top">Server &1 not found in tree &2.</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<br>
|
||
|
<hr>
|
||
|
API introduced: V3R7
|
||
|
|
||
|
<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> | <a href="aplist.htm">APIs by category</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</center>
|
||
|
</body>
|
||
|
</html>
|
||
|
|