Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > 110492f5122731329f0db69a1df590c3 > files > 4083

kdepimlibs-apidocs-4.10.5-1.fc18.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
  <title>KLDAP::LdapOperation Class Reference</title>
<style type="text/css">
  .cp-doNotDisplay { display: none; }
  @media aural, braille, handheld, tty { .cp-doNotDisplay { display: inline; speak: normal; }}
  .cp-edit { text-align: right; }
  @media print, embossed { .cp-edit { display: none; }}
</style>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta http-equiv="Content-Style-Type" content="text/css" />
  <link rel="meta" href="http://www.kde.org/labels.rdf" type="application/rdf+xml" title="ICRA labels" />
  <meta name="trademark" content="KDE e.V." />
  <meta name="description" content="K Desktop Environment Homepage, KDE.org" />
  <meta name="MSSmartTagsPreventParsing" content="true" />
  <meta name="robots" content="all" />
  <meta name="no-email-collection" content="http://www.unspam.com/noemailcollection" />
  <script type="text/javascript" src="jquery.js"></script>
  <script type="text/javascript" src="dynsections.js"></script>
  <link rel="shortcut icon" href="../../favicon.ico" /><link rel="icon" href="../../favicon.ico" />
  <link rel="stylesheet" media="screen" type="text/css" title="KDE Colors" href="../../kde.css" />
  <link rel="stylesheet" media="print, embossed" type="text/css" href="../../print.css" />
  <link rel="stylesheet" media="screen, aural, handheld, tty, braille" type="text/css" title="Flat" href="../../flat.css" />
  <link rel="stylesheet" type="text/css" href="../../doxygen.css" />
  <link rel="stylesheet" type="text/css" href="../../tabs.css" />
</head>
<body>
<ul class="cp-doNotDisplay">
  <li><a href="#cp-content" accesskey="2">Skip to content</a></li>
  <li><a href="#cp-menu" accesskey="5">Skip to link menu</a></li>
</ul>
<div id="container">
<div id="header">
  <div id="header_top"><div><div>
    <img alt ="" src="../../top-kde.jpg"/>
    </div></div></div>
  <div id="header_bottom">
    <div id="location">
      <ul>
        <li><a href="http://api.kde.org">KDE API Reference</a></li>
        <li><a href="../../index.html">kdepimlibs-4.10.5 API Reference</a></li>
      </ul>
    </div>
    <div id="menu">
<ul>
<li><a href="http://www.kde.org/">KDE Home</a></li>
<li><a href="http://kde.org/contact/">Contact Us</a></li>
</ul>
</div>
</div>
</div>
<!-- End page header -->
    <div id="body_wrapper">
      <div id="body">
        <!-- begin main content -->
        <div id="right">
          <div class="content">
          <div id="main">
            <div class="clearer">&nbsp;</div>
<h2><a name="content"></a>KLDAP Library</h2>
<!-- BC -->
<div id="top">
<!-- Generated by Doxygen 1.8.3.1 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>KLDAP</b></li><li class="navelem"><a class="el" href="classKLDAP_1_1LdapOperation.html">LdapOperation</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classKLDAP_1_1LdapOperation-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">KLDAP::LdapOperation Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="ldapoperation_8h_source.html">ldapoperation.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a239aaf9b180e0e49f5377f39135a1dcb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a239aaf9b180e0e49f5377f39135a1dcb"></a>
typedef QList&lt; ModOp &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>ModOps</b></td></tr>
<tr class="separator:a239aaf9b180e0e49f5377f39135a1dcb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af720512f0c23180a5fb62a809ac09afe"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><b>ModType</b> { <b>Mod_None</b>, 
<b>Mod_Add</b>, 
<b>Mod_Replace</b>, 
<b>Mod_Del</b>
 }</td></tr>
<tr class="separator:af720512f0c23180a5fb62a809ac09afe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88187aeb9114dfb0f72977331853717e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><b>ResultType</b> { <br/>
&#160;&#160;<b>RES_BIND</b> = 0x61, 
<b>RES_SEARCH_ENTRY</b> = 0x64, 
<b>RES_SEARCH_REFERENCE</b> = 0x73, 
<b>RES_SEARCH_RESULT</b> = 0x65, 
<br/>
&#160;&#160;<b>RES_MODIFY</b> = 0x67, 
<b>RES_ADD</b> = 0x69, 
<b>RES_DELETE</b> = 0x69, 
<b>RES_MODDN</b> = 0x6d, 
<br/>
&#160;&#160;<b>RES_COMPARE</b> = 0x6f, 
<b>RES_EXTENDED</b> = 0x78, 
<b>RES_EXTENDED_PARTIAL</b> = 0x79
<br/>
 }</td></tr>
<tr class="separator:a88187aeb9114dfb0f72977331853717e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5da32962512490d0bc88f11fb13783a6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5da32962512490d0bc88f11fb13783a6"></a>
typedef int(&#160;</td><td class="memItemRight" valign="bottom"><b>SASL_Callback_Proc</b> )(SASL_Credentials &amp;cred, void *data)</td></tr>
<tr class="separator:a5da32962512490d0bc88f11fb13783a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a213b07718c187a51c13af0cdb1794630"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><b>SASL_Fields</b> { <b>SASL_Authname</b> = 0x1, 
<b>SASL_Authzid</b> = 0x2, 
<b>SASL_Realm</b> = 0x4, 
<b>SASL_Password</b> = 0x8
 }</td></tr>
<tr class="separator:a213b07718c187a51c13af0cdb1794630"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:afb771cec5c99965ba87c3d514721d9cc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afb771cec5c99965ba87c3d514721d9cc"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>LdapOperation</b> (<a class="el" href="classKLDAP_1_1LdapConnection.html">LdapConnection</a> &amp;conn)</td></tr>
<tr class="separator:afb771cec5c99965ba87c3d514721d9cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2bff2dd349508c7e3997074bed4b09e8"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#a2bff2dd349508c7e3997074bed4b09e8">abandon</a> (int id)</td></tr>
<tr class="separator:a2bff2dd349508c7e3997074bed4b09e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82aea2996b6559a406b2120f81c51440"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#a82aea2996b6559a406b2120f81c51440">add</a> (const <a class="el" href="classKLDAP_1_1LdapObject.html">LdapObject</a> &amp;<a class="el" href="classKLDAP_1_1LdapOperation.html#a8ea6b20fad28c107eb1f06a6b7705e08">object</a>)</td></tr>
<tr class="separator:a82aea2996b6559a406b2120f81c51440"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9dd5b30099775841981690594016720"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#aa9dd5b30099775841981690594016720">add</a> (const LdapDN &amp;dn, const ModOps &amp;ops)</td></tr>
<tr class="separator:aa9dd5b30099775841981690594016720"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb93013b0a5e24fe037237a1889a2dce"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#aeb93013b0a5e24fe037237a1889a2dce">add_s</a> (const <a class="el" href="classKLDAP_1_1LdapObject.html">LdapObject</a> &amp;<a class="el" href="classKLDAP_1_1LdapOperation.html#a8ea6b20fad28c107eb1f06a6b7705e08">object</a>)</td></tr>
<tr class="separator:aeb93013b0a5e24fe037237a1889a2dce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0edc8742319b05476992959e0d134838"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#a0edc8742319b05476992959e0d134838">add_s</a> (const LdapDN &amp;dn, const ModOps &amp;ops)</td></tr>
<tr class="separator:a0edc8742319b05476992959e0d134838"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5879170bef8cddbc3a70e58d3ed86177"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#a5879170bef8cddbc3a70e58d3ed86177">bind</a> (const QByteArray &amp;creds=QByteArray(), SASL_Callback_Proc *saslproc=NULL, void *data=NULL)</td></tr>
<tr class="separator:a5879170bef8cddbc3a70e58d3ed86177"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28f501ed56d29852d9a85d7e02f3bbf9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#a28f501ed56d29852d9a85d7e02f3bbf9">bind_s</a> (SASL_Callback_Proc *saslproc=NULL, void *data=NULL)</td></tr>
<tr class="separator:a28f501ed56d29852d9a85d7e02f3bbf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50575c2f5ee109a2b4cb25b2f59fefb2"><td class="memItemLeft" align="right" valign="top">LdapControls&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#a50575c2f5ee109a2b4cb25b2f59fefb2">clientControls</a> () const </td></tr>
<tr class="separator:a50575c2f5ee109a2b4cb25b2f59fefb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85c453c14458d3b45d5ca25bb33e1050"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#a85c453c14458d3b45d5ca25bb33e1050">compare</a> (const LdapDN &amp;dn, const QString &amp;attr, const QByteArray &amp;value)</td></tr>
<tr class="separator:a85c453c14458d3b45d5ca25bb33e1050"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9be95d2df94c27034c0165fc60a03d81"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#a9be95d2df94c27034c0165fc60a03d81">compare_s</a> (const LdapDN &amp;dn, const QString &amp;attr, const QByteArray &amp;value)</td></tr>
<tr class="separator:a9be95d2df94c27034c0165fc60a03d81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac86259fc0a0ac678eb7cd7a800399045"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classKLDAP_1_1LdapConnection.html">LdapConnection</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#ac86259fc0a0ac678eb7cd7a800399045">connection</a> ()</td></tr>
<tr class="separator:ac86259fc0a0ac678eb7cd7a800399045"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae169fd66d37e3bea69ac626ff7ca8e7a"><td class="memItemLeft" align="right" valign="top">LdapControls&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#ae169fd66d37e3bea69ac626ff7ca8e7a">controls</a> () const </td></tr>
<tr class="separator:ae169fd66d37e3bea69ac626ff7ca8e7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad361a3bdac44c6ef3fe7d3dd82b89f27"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#ad361a3bdac44c6ef3fe7d3dd82b89f27">del</a> (const LdapDN &amp;dn)</td></tr>
<tr class="separator:ad361a3bdac44c6ef3fe7d3dd82b89f27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f71f5fc6bff68826cc68b43b01bcdee"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#a9f71f5fc6bff68826cc68b43b01bcdee">del_s</a> (const LdapDN &amp;dn)</td></tr>
<tr class="separator:a9f71f5fc6bff68826cc68b43b01bcdee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a644711248acaa022db40344948beb286"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#a644711248acaa022db40344948beb286">exop</a> (const QString &amp;oid, const QByteArray &amp;data)</td></tr>
<tr class="separator:a644711248acaa022db40344948beb286"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adef3ee3d431979925adb7fdb520a0da0"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#adef3ee3d431979925adb7fdb520a0da0">exop_s</a> (const QString &amp;oid, const QByteArray &amp;data)</td></tr>
<tr class="separator:adef3ee3d431979925adb7fdb520a0da0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab85b1f1507a7de0818aac6e21d9f1126"><td class="memItemLeft" align="right" valign="top">QByteArray&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#ab85b1f1507a7de0818aac6e21d9f1126">extendedData</a> () const </td></tr>
<tr class="separator:ab85b1f1507a7de0818aac6e21d9f1126"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0530af380e8f6bf22f5449e8e163982a"><td class="memItemLeft" align="right" valign="top">QByteArray&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#a0530af380e8f6bf22f5449e8e163982a">extendedOid</a> () const </td></tr>
<tr class="separator:a0530af380e8f6bf22f5449e8e163982a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70959d4d945a33658e6030216b844c99"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#a70959d4d945a33658e6030216b844c99">matchedDn</a> () const </td></tr>
<tr class="separator:a70959d4d945a33658e6030216b844c99"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6241b0d10e4b33dfea325bac22bbecd5"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#a6241b0d10e4b33dfea325bac22bbecd5">modify</a> (const LdapDN &amp;dn, const ModOps &amp;ops)</td></tr>
<tr class="separator:a6241b0d10e4b33dfea325bac22bbecd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2ab66ea68b49f4b8cdca62410f73118"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#ad2ab66ea68b49f4b8cdca62410f73118">modify_s</a> (const LdapDN &amp;dn, const ModOps &amp;ops)</td></tr>
<tr class="separator:ad2ab66ea68b49f4b8cdca62410f73118"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ea6b20fad28c107eb1f06a6b7705e08"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classKLDAP_1_1LdapObject.html">LdapObject</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#a8ea6b20fad28c107eb1f06a6b7705e08">object</a> () const </td></tr>
<tr class="separator:a8ea6b20fad28c107eb1f06a6b7705e08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44dc9d6bbe03d3b60c54d2968796603d"><td class="memItemLeft" align="right" valign="top">QList&lt; QByteArray &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#a44dc9d6bbe03d3b60c54d2968796603d">referrals</a> () const </td></tr>
<tr class="separator:a44dc9d6bbe03d3b60c54d2968796603d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6beec5caab42d23e7be3b9e0892182b9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#a6beec5caab42d23e7be3b9e0892182b9">rename</a> (const LdapDN &amp;dn, const QString &amp;newRdn, const QString &amp;newSuperior, bool deleteold=true)</td></tr>
<tr class="separator:a6beec5caab42d23e7be3b9e0892182b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a716c172418449aee86808e365a6ed147"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#a716c172418449aee86808e365a6ed147">rename_s</a> (const LdapDN &amp;dn, const QString &amp;newRdn, const QString &amp;newSuperior, bool deleteold=true)</td></tr>
<tr class="separator:a716c172418449aee86808e365a6ed147"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af688c6e46dbfc526693b2b8b66fb894b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#af688c6e46dbfc526693b2b8b66fb894b">search</a> (const LdapDN &amp;base, <a class="el" href="classKLDAP_1_1LdapUrl.html#a3df12da76b237a0f62504cf9137817fb">LdapUrl::Scope</a> scope, const QString &amp;filter, const QStringList &amp;attrs)</td></tr>
<tr class="separator:af688c6e46dbfc526693b2b8b66fb894b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa58b111adbcb59c37a26fa168ae53ec4"><td class="memItemLeft" align="right" valign="top">LdapControls&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#aa58b111adbcb59c37a26fa168ae53ec4">serverControls</a> () const </td></tr>
<tr class="separator:aa58b111adbcb59c37a26fa168ae53ec4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6bf46678c2d2d1cff0fff28a3bf63b51"><td class="memItemLeft" align="right" valign="top">QByteArray&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#a6bf46678c2d2d1cff0fff28a3bf63b51">serverCred</a> () const </td></tr>
<tr class="separator:a6bf46678c2d2d1cff0fff28a3bf63b51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a026392b263dfd6373805d0683dd53ee6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#a026392b263dfd6373805d0683dd53ee6">setClientControls</a> (const LdapControls &amp;ctrls)</td></tr>
<tr class="separator:a026392b263dfd6373805d0683dd53ee6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7666f5d5ce51c3cc2e64e1dd0b6ee32a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#a7666f5d5ce51c3cc2e64e1dd0b6ee32a">setConnection</a> (<a class="el" href="classKLDAP_1_1LdapConnection.html">LdapConnection</a> &amp;conn)</td></tr>
<tr class="separator:a7666f5d5ce51c3cc2e64e1dd0b6ee32a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b1e5a4dbbbff9b11b6186a3a444c25e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#a7b1e5a4dbbbff9b11b6186a3a444c25e">setServerControls</a> (const LdapControls &amp;ctrls)</td></tr>
<tr class="separator:a7b1e5a4dbbbff9b11b6186a3a444c25e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5301bd65684573d13744522c400fd09"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKLDAP_1_1LdapOperation.html#ae5301bd65684573d13744522c400fd09">waitForResult</a> (int id, int msecs=-1)</td></tr>
<tr class="separator:ae5301bd65684573d13744522c400fd09"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This class allows sending an ldap operation (search, rename, modify, delete, compare, exop) to an LDAP server. </p>

<p>Definition at line <a class="el" href="ldapoperation_8h_source.html#l00043">43</a> of file <a class="el" href="ldapoperation_8h_source.html">ldapoperation.h</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a2bff2dd349508c7e3997074bed4b09e8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int LdapOperation::abandon </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Abandons a long-running operation. </p>
<p>Requires the message id. </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l01315">1315</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a82aea2996b6559a406b2120f81c51440"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int LdapOperation::add </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classKLDAP_1_1LdapObject.html">LdapObject</a> &amp;&#160;</td>
          <td class="paramname"><em>object</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Starts an addition operation. </p>
<p>Returns a message id if successful, -1 if not. </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l01223">1223</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa9dd5b30099775841981690594016720"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int LdapOperation::add </td>
          <td>(</td>
          <td class="paramtype">const LdapDN &amp;&#160;</td>
          <td class="paramname"><em>dn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const ModOps &amp;&#160;</td>
          <td class="paramname"><em>ops</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Starts an addition operation. </p>
<p>This version accepts ModOps not <a class="el" href="classKLDAP_1_1LdapObject.html" title="This class represents an LDAP Object.">LdapObject</a>. Returns a message id if successful, -1 if not. </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l01235">1235</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aeb93013b0a5e24fe037237a1889a2dce"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int LdapOperation::add_s </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classKLDAP_1_1LdapObject.html">LdapObject</a> &amp;&#160;</td>
          <td class="paramname"><em>object</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds the specified object to the LDAP database. </p>
<p>Returns KLDAP_SUCCESS id if successful, else an LDAP error code. </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l01229">1229</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a0edc8742319b05476992959e0d134838"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int LdapOperation::add_s </td>
          <td>(</td>
          <td class="paramtype">const LdapDN &amp;&#160;</td>
          <td class="paramname"><em>dn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const ModOps &amp;&#160;</td>
          <td class="paramname"><em>ops</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds the specified object to the LDAP database. </p>
<p>This version accepts ModOps not <a class="el" href="classKLDAP_1_1LdapObject.html" title="This class represents an LDAP Object.">LdapObject</a>. This is the synchronous version. Returns KLDAP_SUCCESS id if successful, else an LDAP error code. </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l01241">1241</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a5879170bef8cddbc3a70e58d3ed86177"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int LdapOperation::bind </td>
          <td>(</td>
          <td class="paramtype">const QByteArray &amp;&#160;</td>
          <td class="paramname"><em>creds</em> = <code>QByteArray()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SASL_Callback_Proc *&#160;</td>
          <td class="paramname"><em>saslproc</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>data</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Binds to the server which specified in the connection object. </p>
<p>Can do simple or SASL bind. Returns a message id if successful, negative value if not. </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l01204">1204</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a28f501ed56d29852d9a85d7e02f3bbf9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int LdapOperation::bind_s </td>
          <td>(</td>
          <td class="paramtype">SASL_Callback_Proc *&#160;</td>
          <td class="paramname"><em>saslproc</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>data</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Binds to the server which specified in the connection object. </p>
<p>Can do simple or SASL bind. This is the synchronous version. Returns KLDAP_SUCCESS id if successful, else an LDAP error code. </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l01210">1210</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a50575c2f5ee109a2b4cb25b2f59fefb2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LdapControls LdapOperation::clientControls </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the client controls (which set by <a class="el" href="classKLDAP_1_1LdapOperation.html#a026392b263dfd6373805d0683dd53ee6" title="Sets the client controls which will sent with each operation.">setClientControls()</a>). </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l00124">124</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a85c453c14458d3b45d5ca25bb33e1050"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int LdapOperation::compare </td>
          <td>(</td>
          <td class="paramtype">const LdapDN &amp;&#160;</td>
          <td class="paramname"><em>dn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>attr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QByteArray &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Starts a compare operation on the given DN, compares the specified attribute with the given value. </p>
<p>Returns a message id if successful, -1 if not. </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l01285">1285</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9be95d2df94c27034c0165fc60a03d81"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int LdapOperation::compare_s </td>
          <td>(</td>
          <td class="paramtype">const LdapDN &amp;&#160;</td>
          <td class="paramname"><em>dn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>attr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QByteArray &amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Performs a compare operation on the given DN, compares the specified attribute with the given value. </p>
<p>This is the synchronous version. Returns KLDAP_COMPARE_TRUE if the entry contains the attribute value and KLDAP_COMPARE_FALSE if it does not. Otherwise, some error code is returned. </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l01297">1297</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ac86259fc0a0ac678eb7cd7a800399045"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKLDAP_1_1LdapConnection.html">LdapConnection</a> &amp; LdapOperation::connection </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the connection object. </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l00109">109</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae169fd66d37e3bea69ac626ff7ca8e7a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LdapControls LdapOperation::controls </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the server controls from the returned ldap message (grabbed by result()). </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l00139">139</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad361a3bdac44c6ef3fe7d3dd82b89f27"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int LdapOperation::del </td>
          <td>(</td>
          <td class="paramtype">const LdapDN &amp;&#160;</td>
          <td class="paramname"><em>dn</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Starts a delete operation on the given DN. </p>
<p>Returns a message id if successful, -1 if not. </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l01261">1261</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9f71f5fc6bff68826cc68b43b01bcdee"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int LdapOperation::del_s </td>
          <td>(</td>
          <td class="paramtype">const LdapDN &amp;&#160;</td>
          <td class="paramname"><em>dn</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Deletes the given DN. </p>
<p>This is the synchronous version. Returns KLDAP_SUCCESS id if successful, else an LDAP error code. </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l01267">1267</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a644711248acaa022db40344948beb286"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int LdapOperation::exop </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>oid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QByteArray &amp;&#160;</td>
          <td class="paramname"><em>data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Starts an extended operation specified with oid and data. </p>
<p>Returns a message id if successful, -1 if not. </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l01291">1291</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="adef3ee3d431979925adb7fdb520a0da0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int LdapOperation::exop_s </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>oid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QByteArray &amp;&#160;</td>
          <td class="paramname"><em>data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Performs an extended operation specified with oid and data. </p>
<p>This is the synchronous version. Returns KLDAP_SUCCESS id if successful, else an LDAP error code. </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l01303">1303</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab85b1f1507a7de0818aac6e21d9f1126"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QByteArray LdapOperation::extendedData </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the data from the extended operation response (result returned RES_EXTENDED). </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l00149">149</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a0530af380e8f6bf22f5449e8e163982a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QByteArray LdapOperation::extendedOid </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the OID of the extended operation response (result returned RES_EXTENDED). </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l00144">144</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a70959d4d945a33658e6030216b844c99"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString LdapOperation::matchedDn </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The server might supply a matched DN string in the message indicating how much of a name in a request was recognized. </p>
<p>This can be grabbed by <a class="el" href="classKLDAP_1_1LdapOperation.html#a70959d4d945a33658e6030216b844c99" title="The server might supply a matched DN string in the message indicating how much of a name in a request...">matchedDn()</a>. </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l00154">154</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a6241b0d10e4b33dfea325bac22bbecd5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int LdapOperation::modify </td>
          <td>(</td>
          <td class="paramtype">const LdapDN &amp;&#160;</td>
          <td class="paramname"><em>dn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const ModOps &amp;&#160;</td>
          <td class="paramname"><em>ops</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Starts a modify operation on the given DN. </p>
<p>Returns a message id if successful, -1 if not. </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l01273">1273</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad2ab66ea68b49f4b8cdca62410f73118"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int LdapOperation::modify_s </td>
          <td>(</td>
          <td class="paramtype">const LdapDN &amp;&#160;</td>
          <td class="paramname"><em>dn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const ModOps &amp;&#160;</td>
          <td class="paramname"><em>ops</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Performs a modify operation on the given DN. </p>
<p>This is the synchronous version. Returns KLDAP_SUCCESS id if successful, else an LDAP error code. </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l01279">1279</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a8ea6b20fad28c107eb1f06a6b7705e08"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKLDAP_1_1LdapObject.html">LdapObject</a> LdapOperation::object </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the result object if result() returned RES_SEARCH_ENTRY. </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l00134">134</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a44dc9d6bbe03d3b60c54d2968796603d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QList&lt; QByteArray &gt; LdapOperation::referrals </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function returns the referral strings from the parsed message (if any). </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l00159">159</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a6beec5caab42d23e7be3b9e0892182b9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int LdapOperation::rename </td>
          <td>(</td>
          <td class="paramtype">const LdapDN &amp;&#160;</td>
          <td class="paramname"><em>dn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>newRdn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>newSuperior</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>deleteold</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Starts a modrdn operation on given DN, changing its RDN to newRdn, changing its parent to newSuperior (if it's not empty), and deletes the old dn if deleteold is true. </p>
<p>Returns a message id if successful, -1 if not. </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l01247">1247</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a716c172418449aee86808e365a6ed147"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int LdapOperation::rename_s </td>
          <td>(</td>
          <td class="paramtype">const LdapDN &amp;&#160;</td>
          <td class="paramname"><em>dn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>newRdn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>newSuperior</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>deleteold</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Performs a modrdn operation on given DN, changing its RDN to newRdn, changing its parent to newSuperior (if it's not empty), and deletes the old dn if deleteold is true. </p>
<p>This is the synchronous version. Returns KLDAP_SUCCESS id if successful, else an LDAP error code. </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l01254">1254</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af688c6e46dbfc526693b2b8b66fb894b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int LdapOperation::search </td>
          <td>(</td>
          <td class="paramtype">const LdapDN &amp;&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classKLDAP_1_1LdapUrl.html#a3df12da76b237a0f62504cf9137817fb">LdapUrl::Scope</a>&#160;</td>
          <td class="paramname"><em>scope</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>filter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>attrs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Starts a search operation with the given base DN, scope, filter and result attributes. </p>
<p>Returns a message id if successful, -1 if not. </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l01216">1216</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa58b111adbcb59c37a26fa168ae53ec4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LdapControls LdapOperation::serverControls </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the server controls (which set by <a class="el" href="classKLDAP_1_1LdapOperation.html#a7b1e5a4dbbbff9b11b6186a3a444c25e" title="Sets the server controls which will sent with each operation.">setServerControls()</a>). </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l00129">129</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a6bf46678c2d2d1cff0fff28a3bf63b51"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QByteArray LdapOperation::serverCred </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the server response for a bind request (result returned RES_BIND). </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l00164">164</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a026392b263dfd6373805d0683dd53ee6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LdapOperation::setClientControls </td>
          <td>(</td>
          <td class="paramtype">const LdapControls &amp;&#160;</td>
          <td class="paramname"><em>ctrls</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the client controls which will sent with each operation. </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l00114">114</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7666f5d5ce51c3cc2e64e1dd0b6ee32a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LdapOperation::setConnection </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKLDAP_1_1LdapConnection.html">LdapConnection</a> &amp;&#160;</td>
          <td class="paramname"><em>conn</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the connection object. </p>
<p>Without living connection object, LDAP operations are not possible. </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l00104">104</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7b1e5a4dbbbff9b11b6186a3a444c25e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void LdapOperation::setServerControls </td>
          <td>(</td>
          <td class="paramtype">const LdapControls &amp;&#160;</td>
          <td class="paramname"><em>ctrls</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the server controls which will sent with each operation. </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l00119">119</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae5301bd65684573d13744522c400fd09"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int LdapOperation::waitForResult </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>msecs</em> = <code>-1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Waits for up to <code>msecs</code> milliseconds for a result message from the LDAP server. </p>
<p>If <code>msecs</code> is -1, then this function will block indefinitely. If <code>msecs</code> is 0, then this function will return immediately, that is it will perform a poll for a result message.</p>
<p>Returns the type of the result LDAP message (RES_XXX constants). -1 if error occurred, 0 if the timeout value elapsed. Note! Return code -1 means that fetching the message resulted in error, not the LDAP operation error. Call <a class="el" href="classKLDAP_1_1LdapOperation.html#ac86259fc0a0ac678eb7cd7a800399045" title="Returns the connection object.">connection()</a>.ldapErrorCode() to determine if the operation succeeded. </p>

<p>Definition at line <a class="el" href="ldapoperation_8cpp_source.html#l01309">1309</a> of file <a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="ldapoperation_8h_source.html">ldapoperation.h</a></li>
<li><a class="el" href="ldapoperation_8cpp_source.html">ldapoperation.cpp</a></li>
</ul>
</div><!-- contents -->
<div class="copyrights">
This file is part of the KDE documentation.<br/>
Documentation copyright &copy; 1996-2013 The KDE developers.<br/>
Generated on Fri Jul 12 2013 16:48:51 by
<a href="http://www.doxygen.org/index.html">doxygen</a> 1.8.3.1 written
by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, &copy;&nbsp;1997-2006
<p>
KDE's <a href="http://techbase.kde.org/Policies/Library_Documentation_Policy">Doxygen guidelines</a> are available online.
</p>
</div>
            </div>
          </div>
        </div>
        <div id="left">
          <div class="menu_box">
<a name="cp-menu" /><div class="menutitle"><div>
<h2 id="cp-menu-project">KLDAP Library</h2>
<a href="#cp-skip-project" class="cp-doNotDisplay">Skip menu "KLDAP Library"</a>
</div></div>
<ul><li><a href="index.html">Main Page</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="functions.html">Class Members</a></li><li><a href="files.html">File List</a></li><li><a href="pages.html">Related Pages</a></li></ul>
<!--
<h2>Class Picker</h2>
<div style="text-align: center;">
<form name="guideform">
<select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value">
<option value="annotated.html">-- Choose --</option>
  <option value="classKLDAP_1_1Ber.html">kldap::ber</option>,  <option value="classKLDAP_1_1LdapConfigWidget.html">kldap::ldapconfigwidget</option>,  <option value="classKLDAP_1_1LdapConnection.html">kldap::ldapconnection</option>,  <option value="classKLDAP_1_1LdapControl.html">kldap::ldapcontrol</option>,  <option value="classKLDAP_1_1LdapModel.html">kldap::ldapmodel</option>,  <option value="classKLDAP_1_1LdapModel_1_1LdapModelPrivate.html">kldap::ldapmodel::ldapmodelprivate</option>,  <option value="classKLDAP_1_1LdapModelAttrNode.html">kldap::ldapmodelattrnode</option>,  <option value="classKLDAP_1_1LdapModelDNNode.html">kldap::ldapmodeldnnode</option>,  <option value="classKLDAP_1_1LdapModelNode.html">kldap::ldapmodelnode</option>,  <option value="classKLDAP_1_1LdapObject.html">kldap::ldapobject</option>,  <option value="classKLDAP_1_1LdapOperation.html">kldap::ldapoperation</option>,  <option value="classKLDAP_1_1LdapSearch.html">kldap::ldapsearch</option>,  <option value="classKLDAP_1_1LdapServer.html">kldap::ldapserver</option>,  <option value="classKLDAP_1_1LdapUrl.html">kldap::ldapurl</option>,  <option value="classKLDAP_1_1Ldif.html">kldap::ldif</option>,
</select>
</form>
</div>
-->
<div class="menu_box">
<a name="cp-menu" /><div class="menutitle"><div>
<h2 id="cp-menu-project">kdepimlibs-4.10.5 API Reference</h2>
<a href="#cp-skip-project" class="cp-doNotDisplay">Skip menu "kdepimlibs-4.10.5 API Reference"</a>
</div></div>
<div class="nav_list">
<ul>
<li><a href="../../akonadi/html/index.html">akonadi</a></li><li>&nbsp;&nbsp;<a href="../../akonadi/contact/html/index.html">contact</a></li><li>&nbsp;&nbsp;<a href="../../akonadi/kmime/html/index.html">kmime</a></li><li>&nbsp;&nbsp;<a href="../../akonadi/socialutils/html/index.html">socialutils</a></li><li><a href="../../kabc/html/index.html">kabc</a></li><li><a href="../../kalarmcal/html/index.html">kalarmcal</a></li><li><a href="../../kblog/html/index.html">kblog</a></li><li><a href="../../kcal/html/index.html">kcal</a></li><li><a href="../../kcalcore/html/index.html">kcalcore</a></li><li><a href="../../kcalutils/html/index.html">kcalutils</a></li><li><a href="../../kholidays/html/index.html">kholidays</a></li><li><a href="../../kimap/html/index.html">kimap</a></li><li><a href="../../kioslave/html/index.html">kioslave</a></li><li>&nbsp;&nbsp;<a href="../../kioslave/imap4/html/index.html">imap4</a></li><li>&nbsp;&nbsp;<a href="../../kioslave/mbox/html/index.html">mbox</a></li><li>&nbsp;&nbsp;<a href="../../kioslave/nntp/html/index.html">nntp</a></li><li><a href="../../kldap/html/index.html">kldap</a></li><li><a href="../../kmbox/html/index.html">kmbox</a></li><li><a href="../../kmime/html/index.html">kmime</a></li><li><a href="../../kontactinterface/html/index.html">kontactinterface</a></li><li><a href="../../kpimidentities/html/index.html">kpimidentities</a></li><li><a href="../../kpimtextedit/html/index.html">kpimtextedit</a></li><li><a href="../../kpimutils/html/index.html">kpimutils</a></li><li><a href="../../kresources/html/index.html">kresources</a></li><li><a href="../../ktnef/html/index.html">ktnef</a></li><li><a href="../../kxmlrpcclient/html/index.html">kxmlrpcclient</a></li><li><a href="../../mailtransport/html/index.html">mailtransport</a></li><li><a href="../../microblog/html/index.html">microblog</a></li><li><a href="../../qgpgme/html/index.html">qgpgme</a></li><li><a href="../../syndication/html/index.html">syndication</a></li><li>&nbsp;&nbsp;<a href="../../syndication/atom/html/index.html">atom</a></li><li>&nbsp;&nbsp;<a href="../../syndication/rdf/html/index.html">rdf</a></li><li>&nbsp;&nbsp;<a href="../../syndication/rss2/html/index.html">rss2</a></li>
</ul></div></div>
<!-- api_searchbox -->
          </div>
        </div>
        <div class="clearer"></div>
      </div>
      <div class="clearer"></div>
    </div>
    <div id="end_body"></div>
    <div id="footer"><div id="footer_text">
    Report problems with this website to <a href="https://bugs.kde.org/enter_sysadmin_request.cgi?component=api.kde.org">our bug tracking system</a>.<br>
    Contact the specific authors with questions and comments about the page contents.<p>
    KDE<sup>&#174;</sup> and <a href="/media/images/kde_gear_black.png">the K Desktop Environment<sup>&#174;</sup> logo</a> are registered trademarks of <a href="http://ev.kde.org/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
        <a href="http://www.kde.org/contact/impressum.php">Legal</a></p>
    </div></div>
  </div>
<!--
WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL
BE BLOCKED INSTANTLY AND PERMANENTLY!
<a href="mailto:aaaatrap-45abe0e0c3bebc77@kde.org">Block me</a>
WARNING END
-->
</body>
</html>