1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source4/rpc_server/drsuapi
Alexander Bokovoy 234957a2e4 Fix build after removal of an extra safe_string.h
Move of strcasecmp redefine to lib/util/safe_string.h in
https://gitlab.com/samba-team/samba/-/merge_requests/1507 broke build on
Fedora 33 with GCC 10.2.1 for those compilation units that use
ldb_att_cmp().

The reason for that is that ldb_attr_cmp() defined as

   #define ldb_attr_cmp(a, b) strcasecmp(a, b)

because attribute names restricted to be ASCII by RFC2251 (LDAPv3 spec).

A solution is to add

   #undef strcasecmp

to all source code files which use ldb_attr_cmp().

Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Oct  1 22:45:29 UTC 2020 on sn-devel-184
2020-10-01 22:45:29 +00:00
..
addentry.c debug: Add new debug class "drs_repl" for DRS replication processing 2017-09-07 06:56:27 +02:00
dcesrv_drsuapi.c Fix build after removal of an extra safe_string.h 2020-10-01 22:45:29 +00:00
dcesrv_drsuapi.h drepl_server: Allow refresh of partitions on UpdateRef 2017-04-13 07:29:18 +02:00
drsutil.c s4:rpc_server/drsuapi: make use dcesrv_call_session_info() 2019-01-12 03:13:32 +01:00
getncchanges.c s4:rpc_server: Remove imessaging_context from dcerpc core structs 2019-10-18 16:07:36 +00:00
updaterefs.c s4:rpc_server: Remove imessaging_context from dcerpc core structs 2019-10-18 16:07:36 +00:00
writespn.c lib/util: remove extra safe_string.h file 2020-08-28 02:18:40 +00:00