ldb-samba: Correct error reporting to match Windows
authorAdrian Cochrane <adrianc@catalyst.net.nz>
Tue, 12 Jan 2016 00:11:03 +0000 (13:11 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 18 Jan 2016 03:42:21 +0000 (04:42 +0100)
commit10e32377a41d66566d8860cd5f02243feff61ce0
tree0dfc427b0be9bf79d0b227ce9429f70dc8c101d2
parent1d05f3bae722fe82db8160b76ec6e49771d687cc
ldb-samba: Correct error reporting to match Windows

In some cases instead of replying with an error Windows instead returns
0 results.

Signed-off-by: Adrian Cochrane <adrianc@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
lib/ldb-samba/ldb_matching_rules.c
lib/ldb/common/ldb_match.c