s3:passdb: fix bug #6509: use gid (not uid) cache in fetch_gid_from_cache().
commit08f3e9ade974fcf5abfff71aa01cbf083f952149
authorMichael Adam <obnox@samba.org>
Fri, 26 Jun 2009 12:09:10 +0000 (26 14:09 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 7 Oct 2009 06:54:46 +0000 (7 08:54 +0200)
tree40901ad8f1a92ef8af886b68e48f4692375594a1
parentb122b7d06dc4a08421ec3a57f7b1014234dc05db
s3:passdb: fix bug #6509: use gid (not uid) cache in fetch_gid_from_cache().

With the previous code, the cache can never have been hit at all.

Michael
(cherry picked from commit c70d54508e1cb8f5edbad02a632dfd52d65fd699)
source/passdb/lookup_sid.c