KLdap
ldapconnection.h
QString ldapErrorString() const
Returns the LDAP error string from the last operation.
Definition ldapconnection.cpp:399
const LdapServer & server() const
Returns the connection parameters which was specified with an LDAP Url or a LdapServer structure.
Definition ldapconnection.cpp:105
int connect()
Sets up the connection parameters with creating a handle to the LDAP server.
Definition ldapconnection.cpp:429
QString saslErrorString() const
Returns the SASL error string from the last SASL operation.
Definition ldapconnection.cpp:130
int getOption(int option, void *value) const
Gets an option from the connection.
Definition ldapconnection.cpp:381
void setUrl(const LdapUrl &url)
Sets the connection parameters via the specified url.
Definition ldapconnection.cpp:95
int setOption(int option, void *value)
Sets an option in the connection.
Definition ldapconnection.cpp:387
QString connectionError() const
Returns a translated error string if connect() failed.
Definition ldapconnection.cpp:137
bool setTimeLimit(int timelimit)
Sets the time limit for the connection.
Definition ldapconnection.cpp:417
void setServer(const LdapServer &server)
Sets the connection parameters via the specified server structure.
Definition ldapconnection.cpp:100
int ldapErrorCode() const
Returns the LDAP error code from the last operation.
Definition ldapconnection.cpp:393
void * saslHandle() const
Returns the opaqe sasl-library specific SASL object.
Definition ldapconnection.cpp:115
static QString errorString(int code)
Returns a translated error message from the specified LDAP error code.
Definition ldapconnection.cpp:120
void * handle() const
Returns the opaqe client-library specific LDAP object.
Definition ldapconnection.cpp:110
bool setSizeLimit(int sizelimit)
Sets the size limit for the connection.
Definition ldapconnection.cpp:405
A class that contains LDAP server connection settings.
Definition ldapserver.h:27
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:20 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:20 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.