1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
samba-mirror/lib/ldb/common
Matthieu Patou abcd35f942 ldb: introduce ldb_unpack_data_withlist to unpack partial list of attributes
When provided with non NULL list ldb_unpack_data_withlist will only
unpack attributes that are specified in the list (+ distinguished name)
ldb_unpack_data is changed to call ldb_unpack_data_withlist behind the
scene.

(for modifications found by testing, and re-indentation requested in review)
Signed-off-by: Adrian Cochrane <adrianc@catalyst.net.nz>

Sadly a signed-off-by was not available from Matthieu Patou for the original
version of this patch posted to samba-technical for comment, so instead:

(for supervision of Adrian)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11602
2015-12-17 03:23:20 +01:00
..
attrib_handlers.c ldb: bad if test in ldb_comparison_fold() 2013-12-07 11:10:47 +01:00
ldb_attributes.c lib-ldb: Check for input parameter when searching attributes by name 2014-11-25 05:04:07 +01:00
ldb_controls.c Fix various spelling errors 2015-11-06 13:43:45 +01:00
ldb_debug.c lib/ldb: Do not vasprintf() the tevent debug messages that will not be shown 2012-08-09 20:14:23 +10:00
ldb_dn.c CVE-2015-5330: ldb_dn_explode: copy strings by length, not terminators 2015-12-09 17:19:53 +01:00
ldb_ldif.c lib-ldb_ldif: Stop processing if ldb_message element name is NULL 2014-11-25 05:04:07 +01:00
ldb_match.c CVE-2015-3223: lib: ldb: Use memmem binary search, not strstr text search. 2015-12-09 17:19:51 +01:00
ldb_modules.c lib/ldb: fix compiler warnings in ldb_modules_list_from_string() 2014-11-14 23:27:04 +01:00
ldb_msg.c lib/ldb: fix logic in ldb_val_to_time() 2015-01-24 17:49:05 +01:00
ldb_options.c ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
ldb_pack.c ldb: introduce ldb_unpack_data_withlist to unpack partial list of attributes 2015-12-17 03:23:20 +01:00
ldb_parse.c ldb: Cope with substring match with no chunks in ldb_filter_from_tree 2013-06-24 12:54:18 -07:00
ldb_utf8.c ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00
ldb.c ldb: Allow to register extended match rules 2014-12-22 00:18:09 +01:00
qsort.c ldb: make ldb a top level library for Samba 4.0 2011-07-05 17:24:47 +10:00