Various people have the need to use any existing UNIX account for the UID mapping, yet still retain the ability for winbind to fake up UIDs for ADS-only users. I investigated various solutions to this problem, and it turns out that Samba doesn't support this "as-is". So I implemented a "trim default domain" feature. See my discussions on samba@ and samba-technical@ in October 2004 for more details, including: original query: http://lists.samba.org/archive/samba/2004-October/094981.html post with patch: http://www.dragoninc.on.ca/mail-archives/samba-technical/2004-10/0342.html
Created attachment 844 [details] trimdefaultdomain.patch
Luke, I thought about this athe other day. The check needs to be in winbindd I think in order to get consistent behavior from shell utilities. But I haven't come up with a way to do this without introducing race conditions. Marking as wont fix since bugzilla doesn't have a "not accepting patch" resolution field.