117 lines
3.2 KiB
HTML
117 lines
3.2 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>ldap_copy_controls()--Make a Copy of the List of LDAP Server Controls</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: -->
|
||
|
<!-- YYMMDD USERID Change description -->
|
||
|
<!-- Created for V5R3 by bethvh -->
|
||
|
<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>ldap_copy_controls()--Make a Copy of the List of LDAP Server Controls</h2>
|
||
|
|
||
|
<div class="box" style="width: 70%;">
|
||
|
<br>
|
||
|
Syntax<br>
|
||
|
<pre>
|
||
|
#include <ldap.h>
|
||
|
|
||
|
int ldap_copy_controls(
|
||
|
LDAPControl ***<em>to_here</em>,
|
||
|
LDAPControl **<em>from</em>)
|
||
|
</pre>
|
||
|
|
||
|
<br>
|
||
|
Library Name/Service Program: QSYS/QGLDCLNT<br>
|
||
|
<!-- iddvc RMBR -->
|
||
|
<br>
|
||
|
Default Public Authority: *USE<br>
|
||
|
<!-- iddvc RMBR -->
|
||
|
<br>
|
||
|
Threadsafe: Yes<br>
|
||
|
<!-- iddvc RMBR -->
|
||
|
<br>
|
||
|
</div>
|
||
|
|
||
|
<p>The <strong>ldap_copy_controls()</strong> function is used to make a copy of the list of LDAP server controls. </p>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<h3>Authorities and Locks</h3>
|
||
|
|
||
|
<p>No i5/OS authority is required. All authority checking is done by the LDAP
|
||
|
server.</p>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<h3>Parameters</h3>
|
||
|
|
||
|
<dl>
|
||
|
<dt><strong><em>to_here</em></strong></dt>
|
||
|
|
||
|
<dd>(Input) Specifies the location to which to copy the control list. See <a href="ldap_controls.htm">LDAP Controls</a> for more information about server controls.<br><br></dd>
|
||
|
|
||
|
<dt><strong><em>from</em></strong></dt>
|
||
|
|
||
|
<dd>(Input) Specifies the location of the control list to be copied. See <a href="ldap_controls.htm">LDAP Controls</a> for more information about server controls.<br><br></dd>
|
||
|
</dl>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
|
||
|
<h3>Return Value</h3>
|
||
|
|
||
|
<dl>
|
||
|
<dt><strong>LDAP_SUCCESS</strong></dt>
|
||
|
|
||
|
<dd>if the request was successful.</dd>
|
||
|
|
||
|
<dt><strong>LDAP_NO_MEMORY</strong></dt>
|
||
|
|
||
|
<dd>if the control list could not be copied.</dd>
|
||
|
</dl>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
|
||
|
<h3>Related Information</h3>
|
||
|
|
||
|
<ul>
|
||
|
<li><a href="ldap_insert_control.htm">ldap_insert_control()</a> -- Insert a control in the list of LDAP server controls.</li>
|
||
|
|
||
|
<li><a href="ldap_add_control.htm">ldap_add_control()</a> -- Add a new LDAP server control.</li>
|
||
|
|
||
|
<li><a href="ldap_remove_control.htm">ldap_remove_control()</a> -- Remove a control from the list of LDAP server controls.</li>
|
||
|
|
||
|
</ul>
|
||
|
|
||
|
|
||
|
<br>
|
||
|
<hr>
|
||
|
API introduced: V5R3
|
||
|
|
||
|
<hr>
|
||
|
<table align="center" cellpadding="2" cellspacing="2">
|
||
|
<tr align="center">
|
||
|
<td valign="middle" align="center"><a href="#Top_Of_Page">Top</a> | <a href=
|
||
|
"dirserv1.htm">LDAP APIs</a> | <a href="aplist.htm">APIs by
|
||
|
category</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|