mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
9844ac289b
I don't think this variable length array is any trouble, but people complain about them (e.g. https://nullprogram.com/blog/2019/10/27/) because they make things more complex at run-time, and this is a somewhat performance sensitive path. DOM_SID_STR_BUFLEN + 1 is 191 -- if that stack allocation is going to cause trouble, then so was the VLA <= that. Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed May 8 00:26:42 UTC 2024 on atb-devel-224 |
||
---|---|---|
.. | ||
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.