It seems that the group_mapping ldb misses the fact that new entries have been added until you restart Samba

Jeremy Allison jra at
Mon Jun 18 16:35:53 MDT 2012

On Mon, Jun 18, 2012 at 03:34:10PM -0700, Richard Sharpe wrote:
> Hi folks,
> We are seeing newly added group mapping entries in group_mapping.ldb
> being ignored until you restart Samba.
> That is:
>     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.

Version number of Samba that you're testing would help....

More information about the samba-technical mailing list