bug in source3/winbindd/winbindd_sids_to_xids.c
authorHerb Lewis <hlewis@panasas.com>
Fri, 10 Jun 2011 06:17:11 +0000 (23:17 -0700)
committerVolker Lendecke <vlendec@samba.org>
Fri, 10 Jun 2011 12:35:21 +0000 (14:35 +0200)
commit73311f8a308d13d016a1940758e8824934161827
tree773a22f5639a160a5a9504ccc54b164b067988d4
parentde8eb77e91bb280da49f4f7586f8e511e808c1f0
bug in source3/winbindd/winbindd_sids_to_xids.c

I'm having trouble getting my system setup to do submits right now but
I discovered a bug in the subject file that causes winbindd lookup sids
command to assign incorrect unix ids. The change to sid_peek_rid fixes
the case where you call lookup sids with sids s1 s2 s3 which cause them
to be cached. then call with s1 s2 s4 and s4 will get the unix id of s1.

The other change fixes the case where a sid that was not translated
gets a value returned instead of being listed as unmapped.

Could someone review this and push to master and 3.6 for me?

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Jun 10 14:35:21 CEST 2011 on sn-devel-104
source3/winbindd/winbindd_sids_to_xids.c