1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/lib/ldb-samba
Douglas Bagnall b80f66f803 ldb-samba: dns tombstone matching: constrict value length
We know the only values we want to see are uint32, ie < ~4 billion
(and real values will be 7 digits for hundreds of years).

We also know the caller (we have just checked) is a trusted system
session which won't be padding the thing with spaces. But if they do,
let's call them out.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2021-07-05 04:16:34 +00:00
..
tests pytests: heed assertEquals deprecation warning en-masse 2020-02-07 10:37:37 +00:00
ldb_ildap.c samba-o3: fix -Werror=strict-overflow error in lib/ldb-samba/ldb_ildap module 2019-03-08 00:42:18 +00:00
ldb_matching_rules.c ldb-samba: dns tombstone matching: constrict value length 2021-07-05 04:16:34 +00:00
ldb_matching_rules.h dns: custom match rule for DNS records to be tombstoned 2018-07-12 04:31:54 +02:00
ldb_wrap.c lib:ldb-samba: Use debug level defines 2021-06-23 09:03:42 +00:00
ldb_wrap.h
ldif_handlers.c lib: relicense smb_strtoul(l) under LGPLv3 2020-08-03 22:21:02 +00:00
ldif_handlers.h dsdb: Introduce LDB_SYNTAX_SAMBA_OCTET_STRING 2016-03-09 10:32:16 +01:00
pyldb.c Fix clang 9 missing-field-initializer warnings 2020-05-08 09:31:31 +00:00
README
samba_extensions.c lib:ldb-samba: Migrate samba extensions to new cmdline option parser 2021-06-16 01:25:28 +00:00
wscript_build lib:ldb-samba: Migrate samba extensions to new cmdline option parser 2021-06-16 01:25:28 +00:00

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.