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>
Sat, 26 May 2012 20:05:22 +0000 (22:05 +0200)
commitbaac32c43460ed5e78e7f8bb2304f79cae2b15ef
tree804a9419eff7fa94d930c8fca70faff33f204403
parent96b6f3a4777fa3288ee071e01bf293c28002fc5f
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>
source3/passdb/lookup_sid.c