s3:winbindd: don't turn negative cache entries into valid idmappings (bug #9002)
authorStefan Metzmacher <metze@samba.org>
Tue, 19 Jun 2012 15:57:19 +0000 (17:57 +0200)
committerKarolin Seeger <kseeger@samba.org>
Sat, 30 Jun 2012 11:21:11 +0000 (13:21 +0200)
commit65cc848fde9e383afa0c9eff78e66d6cd57aea18
tree592396c4e52a78de4d96712ce73d32ddf7703f95
parente19d064b2a23ec083da06fa56af47be694152442
s3:winbindd: don't turn negative cache entries into valid idmappings (bug #9002)

It's typical that some file operations set a NTACL, which tries
sid2uid() before sid2gid(), this will create a negative cache entry.

Negative SID2UID entries cause that a valid SID2GID mapping is ignored
and the group is ignored in the UNIX Token.

metze
source3/winbindd/winbindd_sids_to_xids.c