Commit Graph

59 Commits

Author SHA1 Message Date
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 81e418efaf wldap32: Use wide character string literals.
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 8a52b16e0d wldap32: Use CRT memory allocators.
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 aa9f3e6e96 wldap32: Get rid of wldap32.h.
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 5a236e55c3 wldap32: Don't depend on libldap for the value functions.
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 274e399121 wldap32: Move support for parse functions to the Unix library.
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 1c5b3f2001 wldap32: Move support for page functions to the Unix library.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-16 11:13:21 +02:00
Hans Leidekker da4d701bb7 wldap32: Move support for option functions to the Unix library.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-16 11:13:21 +02:00
Hans Leidekker b2ac9f4b75 wldap32: Move support for init functions to the Unix library.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-16 11:13:21 +02:00
Hans Leidekker db26894eee wldap32: Move support for bind functions to the Unix library.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-14 17:04:35 +02:00
Hans Leidekker 1114f2970d wldap32: Move support for ber functions to the Unix library.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-14 17:04:35 +02:00
Hans Leidekker 1805b3a1fc wldap32: Move support for add functions to a new Unix library.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-14 17:04:35 +02:00
Hans Leidekker 0631cecd52 wldap32: Convert berval structures.
The layout is different on 64-bit. As a side effect this patch fixes bug 50622
because we no longer include the Windows header.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50622
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-08 20:09:49 +01:00
Dmitry Timoshkov 6e459129e7 wldap32: Implement ldap_search_init_pageW.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 14:15:12 +02:00
Dmitry Timoshkov 07b18a7672 wldap32: Locally cache "supportedControl" rootDSE attribute, and check it in ldap_set_option(LDAP_OPT_SERVER_CONTROLS).
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-03 17:02:12 +02:00
Dmitry Timoshkov 57cb1900b6 wldap32: Actually use private LDAP structure for internal storage.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-03 17:02:03 +02:00
Dmitry Timoshkov 364ac6787a wldap32: Add support for ldap_bind_s(LDAP_AUTH_NEGOTIATE).
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-24 12:36:01 +01:00
Martin Liska 9afc341c4f include: Avoid compound literals for WCHAR strings.
Starting from GCC 9, compound liferal's scope has changed:
https://www.gnu.org/software/gcc/gcc-9/porting_to.html#complit

Signed-off-by: Martin Liska <mliska@suse.cz>
Signed-off-by: Marcus Meissner <meissner@suse.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-12 11:44:26 +02:00
Alexandre Julliard fb04bcf638 Fix position of CDECL qualifier for functions that return pointers. 2009-02-06 14:54:01 +01:00
Maarten Lankhorst 39d80a3c96 wldap32: Fix winldap_private header compatibility with 64-bit. 2008-11-26 12:05:48 +01:00
Alexandre Julliard 469068715c wldap32: Always return WLDAP32 error values instead of redefining the ldap.h ones. 2007-11-08 13:11:34 +01:00
Hans Leidekker 032dbfe474 wldap32: Fix build against latest OpenLDAP release. 2007-11-08 12:52:48 +01:00
Alexandre Julliard 7e5770d0a7 wldap32: Prefix option defines with WLDAP32 to avoid conflicts with system headers. 2007-03-17 20:06:00 +01:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard 29aea6e1c7 Fixed a couple of function prototypes. 2006-02-17 14:08:38 +01:00
Hans Leidekker bf2f5a8f17 wldap32: Implement some page handling functions.
Implement ldap_create_page_control{A,W} and
ldap_parse_page_control{A,W}.
Move the page handling functions into their own file.
2005-12-31 13:34:19 +01:00
Hans Leidekker 43284a51c1 Stub implementations for functions handling paged search results.
Add some missing declarations.
2005-12-01 18:46:53 +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 abb5d46d88 Implement ldap_create_vlv_control{A,W},
ldap_encode_sort_control{A,W}.
Add a stub for ldap_create_page_control{A,W}.
2005-11-21 13:33:37 +00:00
Hans Leidekker 20d0e80e61 Avoid using deprecated openldap functions.
Implement ldap_sslinit{A,W}, improve cldap_open{A,W}.
Add stub implementation for ldap_startup and ldap_stop_tls_s.
2005-11-18 16:56:44 +00:00
Hans Leidekker 8be6ee3653 Implement ldap_create_sort_control*. 2005-09-08 18:56:22 +00:00
Hans Leidekker 907be53beb Implement ldap_control_free*, ldap_controls_free* and
ldap_free_controls*.
2005-09-08 11:01:08 +00:00
Hans Leidekker d15d1c4cea Implement ldap_escape_filter_element*. 2005-09-07 09:24:50 +00:00
Hans Leidekker 484e8e28b9 Fix the build without openldap headers. 2005-09-02 11:09:14 +00:00
Hans Leidekker 880b1d3d51 Implement ldap_count_entries, ldap_count_references,
ldap_first_attribute*, ldap_first_entry, ldap_first_reference,
ldap_next_attribute*, ldap_next_entry and ldap_next_reference.
2005-08-30 08:52:39 +00:00
Hans Leidekker d672c65ac3 Implement ldap_count_values*, ldap_get_values*, ldap_msgfree and
ldap_value_free_len.
2005-08-29 14:13:05 +00:00
Hans Leidekker 3abfd8a890 Implement ldap_extended_operation* and ldap_close_extended_op. 2005-08-29 09:33:16 +00:00
Hans Leidekker df41a9a565 Implement LdapGetLastError, cldap_open*, ldap_abandon,
ldap_check_filter*, ldap_cleanup, ldap_conn_from_msg and
ldap_connect.
2005-08-22 18:56:54 +00:00
Hans Leidekker f258d2ce2d Implement ldap_rename* functions. 2005-08-22 14:07:31 +00:00
Hans Leidekker b47e54d28c Implement ldap_modrdn* functions. 2005-08-22 09:17:15 +00:00
Hans Leidekker 050b9ebf22 Implement ldap_result. 2005-08-15 14:46:42 +00:00
Hans Leidekker 02b372a708 Implement ldap_modify* functions. 2005-08-15 09:43:00 +00:00
Hans Leidekker 54ebec64d2 Implement ldap_delete* functions.
Add missing spec file entries.
2005-08-11 17:07:12 +00:00
Hans Leidekker 009485b4b8 Add helpers for converting (arrays of) LDAPMod structures into
different encodings.
2005-08-10 13:00:21 +00:00
Hans Leidekker 1bccd28843 Add helpers for converting (arrays of) LDAPSortKey, LDAPAPIInfo, and
LDAPAPIFeatureInfo structures into different encodings.
2005-08-08 11:03:40 +00:00
Hans Leidekker 2be395db76 Implement LdapUnicodeToUTF8, LdapUTF8ToUnicode,
ldap_dn2ufn*, ldap_explode_dn*, ldap_get_dn*,
ldap_memfree*, ldap_ufn2dn* and ldap_value_free*.
2005-08-03 10:58:14 +00:00
Hans Leidekker fa043b06ba Don't rely on ldap structure when headers are not available. 2005-08-02 09:49:41 +00:00
Hans Leidekker 7a264997d5 Implement ldap_compare* functions. 2005-08-01 14:51:17 +00:00
Hans Leidekker 38d350ef00 Implement ldap_err2string. 2005-08-01 10:59:09 +00:00
Hans Leidekker 4641cb8d93 Implement ldap_perror, ldap_result2error and LdapMapErrorToWin32. 2005-07-27 15:15:31 +00:00