s3-passdb: Fix negative SID->uid/gid cache handling. (bug #8952)
authorIra Cooper <ira@samba.org>
Thu, 24 May 2012 01:39:03 +0000 (21:39 -0400)
committerKarolin Seeger <kseeger@samba.org>
Fri, 22 Jun 2012 19:48:51 +0000 (21:48 +0200)
commitc4fd9ff890e2640ef90b4d7129621e3fe800a61e
treed6384131f18032166355b48a81321f805265b6a1
parente49e3d880080957cacf29070e3ddb673cd8cbb2c
s3-passdb: Fix negative SID->uid/gid cache handling. (bug #8952)

-1 uid/gid signals a non existent uid/gid.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit baac32c43460ed5e78e7f8bb2304f79cae2b15ef)
source3/passdb/lookup_sid.c