lib: Make idmap_cache return negative mappings
authorVolker Lendecke <vl@samba.org>
Mon, 25 Feb 2019 13:38:50 +0000 (14:38 +0100)
committerVolker Lendecke <vl@samba.org>
Thu, 28 Feb 2019 12:57:23 +0000 (12:57 +0000)
commitd9303e8eb90d48f09f2e2e8bdf01f4a7c3c21d11
treeda84e0ac08a343d1c05295b274ea60714918602d
parentd8a7caa5b03428dd9b0808135b34c21e217dbe2e
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
source3/lib/idmap_cache.c