mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
c505076422
Returning a non-zero value from a tdb_traverse callback indicates that tdb_traverse should stop traversing the database. This error code IS NOT propagated back to the caller, so LTDB must record the error otherwise. This patch corrects LTDB for this misunderstanding. Naturally exposing these errors changes the behaviour of some tests. This commit fixes that as well. Signed-off-by: Adrian Cochrane <adrianc@catalyst.net.nz> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> |
||
---|---|---|
.. | ||
tests | ||
ldb_ildap.c | ||
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.