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

Richard Sharpe realrichardsharpe at
Mon Jun 18 16:34:10 MDT 2012

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.

Richard Sharpe

More information about the samba-technical mailing list