s3: Pass up domain name from msrpc name_to_sid
authorVolker Lendecke <vl@samba.org>
Thu, 8 Sep 2011 12:00:35 +0000 (14:00 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 11 Oct 2011 13:21:10 +0000 (15:21 +0200)
commit7f360a6018c56b833a74036b3c22d3667ff229ed
tree11ea80c32f278242d00025565cd546dfdd881389
parent22ccb1f8c3885c6e9c0b2d5f9afc365e5bccf162
s3: Pass up domain name from msrpc name_to_sid

This fixes a bug where winbind caching did the wrong thing. rpcclient
lookupnames for \\domain admins (without domain) followed by a wbinfo -s <sid>
made the wbinfo call return \\domain admins as name, not the one with the
correct domain prefix.
source3/winbindd/winbindd_msrpc.c