After following the guide to join the samba4 host to a domain using winbind, I noticed that the prepended domain is not available when using commands such as id or getent passwd. This was optional using Samba3/winbind.
I have a VDI solution that I'm trying to integrate with Samba4 that requires the domain be prepended for single sign-on.
If you use Centrify or Likewise Open to join an external domain, the aforementioned commands will show you the domain as well as the username.
Created attachment 6934 [details]
Patch for this issue
Currently in autobuild, but attached here if you want to try it yourself.
I'm marking this as fixed, if you are unsatisfied feel free to reopen!