lib: Make idmap_cache return negative mappings
authorVolker Lendecke <vl@samba.org>
Mon, 25 Feb 2019 13:38:50 +0000 (14:38 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 12 Mar 2019 11:25:42 +0000 (11:25 +0000)
commit14234542aa56dcee04609019db30c598f381a491
tree7d8b5c27519a8c02e7024f44b3185f8c42cffb5a
parent29984beafc91ef6f45884adc3a0bd4617acbc0a0
lib: Make idmap_cache return negative mappings

Without this we'd query non-existent mappings over and over
again.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13813
(cherry picked from commit d9303e8eb90d48f09f2e2e8bdf01f4a7c3c21d11)
source3/lib/idmap_cache.c