Commit Graph

24 Commits

Author SHA1 Message Date
Andrey Gusev 78866a7b87 wldap32: Remove redundant 'break' statement.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-20 21:07:10 +02:00
Hans Leidekker 885c480d2e wldap32: Avoid a crash with tracing on.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-20 21:07:10 +02: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 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 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 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
Damjan Jovanovic 99fb4b17f3 wldap32: Implement setting the LDAP_OPT_REFERRALS option.
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-23 10:02:09 +01:00
Dmitry Timoshkov 6df25aafbb wldap32: Fix server controls lookup logic.
This fixes 'supported == user_count' comparison if the server has duplicate
control OIDs in the returned list.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-06 21:21:42 +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
Gerald Pfeifer c6e45649fe wldap32: Define a debug channel only when we are using it.
Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-10 22:46:24 +01:00
Alexandre Julliard e04866f3cf wldap32: Include system headers before Windows headers. 2011-09-05 19:32:32 +02:00
Hans Leidekker 95a5e9eba1 wldap32: Accept a NULL value in ldap_set_option. 2011-03-29 15:41:16 +02:00
Michael Stefaniuc d576c2d934 wldap32: Remove superfluous pointer casts. 2009-01-13 15:25:41 +01:00
Alexandre Julliard 25c708911b wldap32: Map Unix error codes to Windows ones for all functions. 2008-10-20 12:22:13 +02: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
Alexandre Julliard 7e5770d0a7 wldap32: Prefix option defines with WLDAP32 to avoid conflicts with system headers. 2007-03-17 20:06:00 +01:00
Hans Leidekker 1219fa5806 wldap32: Support setting server controls. 2006-08-16 16:41:15 +02:00
Hans Leidekker 9744cdbc22 wldap32: Document ldap_{get,set}_option and the parsing functions. 2006-08-16 16:41:10 +02: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
Hans Leidekker 6c4011e768 Avoid using deprecated openldap functions.
Correct some return values.
2005-11-18 16:29:32 +00:00
Hans Leidekker d9ed7161ea Implement LDAP_OPT_API_FEATURE_INFO and LDAP_OPT_API_INFO. 2005-08-12 15:52:13 +00:00
Hans Leidekker 45e671e23c Implement ldap_{get,set}_option{A,W}. 2005-08-09 20:35:17 +00:00