Commit Graph

20 Commits

Author SHA1 Message Date
Hans Leidekker 5d0b23be22 wldap32: Build without -DWINE_NO_LONG_TYPES.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-15 16:34:16 +01: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
Michael Stefaniuc 981da1d50d wldap32/tests: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-14 12:20:39 +01:00
Dmitry Timoshkov 3c7fddbcae wldap32: Set count and result to 0 when returning LDAP_NO_RESULTS_RETURNED.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-20 12:49:10 +02:00
Dmitry Timoshkov 82bcbcc549 wldap32/tests: Add a test for LDAP paged search.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-20 12:49:10 +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 4ebd194694 wldap32/tests: Test setting a not supported server control.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-03 17:01:32 +02:00
Dmitry Timoshkov 56c1590dfe wldap32/tests: Add ldap_bind_s test.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-17 10:22:53 +01:00
Hans Leidekker accdabadba wldap32: Create version 3 contexts by default.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-05 10:34:27 +02:00
Hans Leidekker 165081e53c wldap32/tests: Skip tests if the connection times out. 2014-04-01 13:31:00 +02:00
Hans Leidekker 0994781df6 wldap32/tests: Compile with -D__WINESRC__. 2013-10-14 16:05:31 +02:00
Hans Leidekker 95a5e9eba1 wldap32: Accept a NULL value in ldap_set_option. 2011-03-29 15:41:16 +02:00
André Hentschel 08400e9dd7 wldap32/tests: Fix skipping if server is unavailable. 2010-11-29 19:51:28 +01:00
Hans Leidekker 3fbf6bdf11 wldap32: Fix handling of zero timeout value in ldap_search_extW.
Based on a patch by Adam Romanek.
2010-08-18 15:31:56 +02:00
Paul Vriens d17f3fe8a5 wldap32/tests: Skip a test on older versions of wldap32 to prevent a crash. 2009-06-18 15:17:28 +02:00
Alexandre Julliard 796197d97c wldap32/tests: Use ~0u instead of ~0ul for DWORD values. 2009-01-03 20:15:13 +01:00
Hans Leidekker 0c82af8a27 wldap32: Skip tests when the server can't be reached. 2008-10-22 13:54:55 +02:00
Hans Leidekker 6d901a173d wldap32: Use a test query that is more likely to succeed within 20 seconds. 2008-10-21 14:00:36 +02:00
Alexandre Julliard 316f3fc693 wldap32/tests: Don't crash if ldap_search_ext_sA fails. 2008-10-20 12:20:48 +02:00
Hans Leidekker b981387383 wldap32: Add tests for ldap_parse_sort_control and make them pass. 2008-10-07 12:02:44 +02:00