KLdap
13#include "kldap_core_export.h"
14#include "ldapserver.h"
26 enum SASL_Fields { SASL_Authname = 0x1, SASL_Authzid = 0x2, SASL_Realm = 0x4, SASL_Password = 0x8 };
42 void setUrl(
const LdapUrl &url);
65 [[nodiscard]]
QString connectionError()
const;
74 [[nodiscard]]
bool setSizeLimit(
int sizelimit);
76 [[nodiscard]]
int sizeLimit()
const;
81 [[nodiscard]]
bool setTimeLimit(
int timelimit);
83 [[nodiscard]]
int timeLimit()
const;
90 int getOption(
int option,
void *value)
const;
93 int setOption(
int option,
void *value);
96 [[nodiscard]]
int ldapErrorCode()
const;
98 [[nodiscard]]
QString ldapErrorString()
const;
100 [[nodiscard]]
static QString errorString(
int code);
103 [[nodiscard]]
QString saslErrorString()
const;
109 void *handle()
const;
115 void *saslHandle()
const;
118 class LdapConnectionPrivate;
119 std::unique_ptr<LdapConnectionPrivate>
const d;
This class represents a connection to an LDAP server.
A class that contains LDAP server connection settings.
A special url class for LDAP.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:34 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.