1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-05 09:18:06 +03:00
samba-mirror/lib/ldb-samba
Douglas Bagnall 7280c8e53f ldb-samba:ldif_handlers: dn_link_comparison: sort invalid DNs
If both DNs are invalid, we can say they are equal.

This means invalid or NULL DNs will sort to the end of the array,
before deleted DNs:

[ valid DNs, sorted | invalid/NULL DNs | deleted DNs, sorted ]

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15625

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2024-04-23 01:33:29 +00:00
..
tests CVE-2023-0614 lib/ldb-samba: Add test for SAMBA_LDAP_MATCH_RULE_TRANSITIVE_EVAL / LDAP_MATCHING_RULE_IN_CHAIN with and ACL hidden attributes 2023-04-05 02:10:35 +00:00
ldb_ildap.c lib/ldb-samba: Fix building with FORTIFY_SOURCE=2 2023-10-01 22:45:38 +00:00
ldb_matching_rules.c ldb-samba: matching rules: notify of search failure in transitive filter 2024-03-22 05:03:35 +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 ldb-samba:ldb_wrap: don't crash if "ldb_url" opaque is unset 2024-03-20 23:42:34 +00:00
ldb_wrap.h
ldif_handlers.c ldb-samba:ldif_handlers: dn_link_comparison: sort invalid DNs 2024-04-23 01:33:29 +00:00
ldif_handlers.h dsdb: Introduce LDB_SYNTAX_SAMBA_OCTET_STRING 2016-03-09 10:32:16 +01:00
pyldb.c pyldb: Consolidate PyErr_SetLdbError() using the pyldb version 2024-03-28 01:50:41 +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.