KLDAP Library
21 #ifndef KLDAP_LDAPOPERATION_H
22 #define KLDAP_LDAPOPERATION_H
24 #include "kldap_export.h"
25 #include "ldapconnection.h"
26 #include "ldapcontrol.h"
27 #include "ldapobject.h"
29 #include "ldapserver.h"
32 #include <QtCore/QByteArray>
33 #include <QtCore/QList>
34 #include <QtCore/QString>
47 Mod_None, Mod_Add, Mod_Replace, Mod_Del
52 RES_SEARCH_ENTRY = 0x64,
53 RES_SEARCH_REFERENCE = 0x73,
54 RES_SEARCH_RESULT = 0x65,
61 RES_EXTENDED_PARTIAL = 0x79
79 struct SASL_Credentials {
87 typedef int (SASL_Callback_Proc) ( SASL_Credentials &cred,
void *data );
90 SASL_Callback_Proc *proc;
92 SASL_Credentials creds;
131 SASL_Callback_Proc *saslproc = NULL,
void *data = NULL );
138 int bind_s( SASL_Callback_Proc *saslproc = NULL,
void *data = NULL );
164 int add(
const LdapDN &dn,
const ModOps &ops );
172 int add_s(
const LdapDN &dn,
const ModOps &ops );
179 int rename(
const LdapDN &dn,
const QString &newRdn,
180 const QString &newSuperior,
bool deleteold =
true );
187 int rename_s(
const LdapDN &dn,
const QString &newRdn,
188 const QString &newSuperior,
bool deleteold =
true );
193 int del(
const LdapDN &dn );
199 int del_s(
const LdapDN &dn );
205 int modify(
const LdapDN &dn,
const ModOps &ops );
211 int modify_s(
const LdapDN &dn,
const ModOps &ops );
240 int abandon(
int id );
253 int waitForResult(
int id,
int msecs = -1 );
291 class LdapOperationPrivate;
292 LdapOperationPrivate *
const d;
Scope
Describes the scope of the LDAP url.
This class represents an LDAP Object.
This class represents a connection to an LDAP server.
This class allows sending an ldap operation (search, rename, modify, delete, compare, exop) to an LDAP server.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:58 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.