Commit graph

19 commits

Author SHA1 Message Date
Alex Henrie
16e4b086f2 wldap32: Implement setting LDAP_OPT_CLIENT_CERTIFICATE.
Since most LDAP servers do not require mTLS, for now the callback
function is saved but not called.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55507
2023-09-04 11:38:51 +02:00
Alex Henrie
8fb04515cf wldap32: Implement setting LDAP_OPT_SERVER_CERTIFICATE and add tests.
ctxt_handle is moved to the top of struct tlsw_session so that it can be
easily retrieved via LDAP_OPT_X_TLS_SSL_CTX.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54727
2023-03-30 20:28:28 +02:00
Alex Henrie
1512112841 include: Annotate ldap_(*_attribute|get_dn)* with __WINE_(DEALLOC|MALLOC). 2023-03-22 20:03:51 +01:00
Alex Henrie
fd99bd4e24 include: Annotate LDAP allocation functions with __WINE_(DEALLOC|MALLOC). 2023-03-20 21:27:44 +01:00
Hans Leidekker
8db46756ca wldap32: Get rid of the WLDAP32_ prefix.
We can now include the public header without conflicts.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-19 20:08:48 +02:00
Hans Leidekker
62721a7db3 include: Remove functions declarations from winldap.h that don't exist in the native header.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-06 22:46:12 +02:00
Dmitry Timoshkov
af1c34294d adsldp: Add support for IDirectorySearch::SetSearchPreference(ADS_SEARCHPREF_SECURITY_MASK).
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-02 11:42:46 +02:00
Dmitry Timoshkov
791791931c adsldp: Add support for IADsOpenDSObject::OpenDSObject(ADS_SECURE_AUTHENTICATION).
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-24 12:36:09 +01:00
Alexandre Julliard
70e02ce73c wldap32: Use WINAPIV calling convention for variadic functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-02 10:16:27 +01:00
Francois Gouget
ba68d86423 wldap32: Keep the error constants ordered.
This simplifies verifying consistency with the corresponding error
messages.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-10 21:35:30 +01:00
Alexandre Julliard
91e45c62d3 wldap32: Explicitly specify CDECL calling convention on exported functions. 2006-06-12 21:34:46 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Francois Gouget
4a4ab52d76 Better stick to the PSDK types.
Update win32.api.
2005-12-02 13:01:07 +01:00
Francois Gouget
f667584aac winldap.h should include windeh.f and schnlsp.h.
Enclose the API definitions in an extern "C" section and define
LDAPAPI.
Better stick to the types defined by the PSDK.
Fix the ldap_create_vlv_control*() prototypes.
Update win32.api.
2005-11-23 20:12:07 +01:00
Hans Leidekker
d15d1c4cea Implement ldap_escape_filter_element*. 2005-09-07 09:24:50 +00:00
Dmitry Timoshkov
d09c8a896e Add some missing LDAP definitions. 2005-08-11 10:33:42 +00:00
Hans Leidekker
88c2d837ab Synchronize winldap.h with winldap_private.h. 2005-08-10 15:00:21 +00:00
Hans Leidekker
56a94afc9e Correct prototype for ldap_search_ext_s.
Improve error handling for the search functions.
2005-07-26 15:50:47 +00:00
Hans Leidekker
a745ca0144 Added winldap.h header. 2005-07-13 11:32:08 +00:00