localgroups on a member server are not listed. On a 3.5 member server do:
# net sam createlocalgroup localusers
# getent group 'dds13\localusers'
# getent group | grep -i localuser
the relevant part of smb.conf:
idmap backend = tdb
idmap uid = 2000000-3000000
idmap gid = 2000000-3000000
winbind enum users = yes
winbind enum groups = yes
The same problem applies to the BUILTIN domain. Domain groups are being listed correctly.
This bug still reproduces on Samba 4.1.2
Created attachment 10706 [details]
patch for master