It seems that the group_mapping ldb misses the fact that new entries have been added until you restart Samba
realrichardsharpe at gmail.com
Mon Jun 18 16:34:10 MDT 2012
We are seeing newly added group mapping entries in group_mapping.ldb
being ignored until you restart Samba.
net groupmap addmem S-1-5-32-545 blah blah with new user SID
smbclient //localhost/some-share -Uthe-new-user%Password
However, we are not a member of the BUILTIN\Users group.
Once we restart Samba, everything works.
I have not yet explored all the relevant code. Can any suggest why
this might be and is there a workaround.
More information about the samba-technical