mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
234957a2e4
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 |
||
---|---|---|
.. | ||
tests | ||
ldb_ildap.c | ||
ldb_matching_rules.c | ||
ldb_matching_rules.h | ||
ldb_wrap.c | ||
ldb_wrap.h | ||
ldif_handlers.c | ||
ldif_handlers.h | ||
pyldb.c | ||
README | ||
samba_extensions.c | ||
wscript_build |
This directory contains Samba specific extensions to ldb. It also serves as example code on how to extend ldb for your own application. The main extension Samba uses is to provide ldif encode/decode routines for specific attributes, so users can get nice pretty printing of attributes in ldbedit, while the attributes are stored in the standard NDR format in the database.