125 lines
3.6 KiB
HTML
125 lines
3.6 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_remove_control()--Remove a Control from 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_remove_control()--Remove a Control from the List of LDAP Server Controls</h2>
|
|
|
|
<div class="box" style="width: 70%;">
|
|
<br>
|
|
Syntax<br>
|
|
<pre>
|
|
#include <ldap.h>
|
|
|
|
int ldap_remove_control(
|
|
LDAPControl *<em>delControl</em>,
|
|
LDAPControl ***<em>ctrlList</em>,
|
|
int <em>freeit</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_remove_control()</strong> function is used to remove a control from the list of LDAP server controls.</p>
|
|
|
|
<p><strong>Note:</strong> If <em>freeit</em> is not 0, the control will be freed. If <em>freeit</em> is set to 0, the control will not be freed.</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>delControl</em></strong></dt>
|
|
|
|
<dd>(Input) Specifies the control to be deleted. See <a href="ldap_controls.htm">LDAP Controls</a> for more information about server controls.<br><br></dd>
|
|
|
|
<dt><strong><em>ctrlList</em></strong></dt>
|
|
|
|
<dd>(Input) Specifies a list of LDAP server controls. See <a href="ldap_controls.htm">LDAP Controls</a> for more information about server controls.<br><br></dd>
|
|
|
|
<dt><strong><em>freeit</em></strong></dt>
|
|
|
|
<dd>(Input) Specifies whether or not to free the control. If set to TRUE, the control will be freed. If set to FALSE, the control will not be freed.<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 could not be removed.</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_remove_control.htm">ldap_add_control()</a> -- Add a new LDAP server control.</li>
|
|
|
|
<li><a href="ldap_copy_controls.htm">ldap_copy_controls()</a> -- Synchronously add an
|
|
entry with 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>
|