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

Richard Sharpe realrichardsharpe at gmail.com
Mon Jun 18 16:37:51 MDT 2012


On Mon, Jun 18, 2012 at 3:35 PM, Jeremy Allison <jra at samba.org> wrote:
> 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....

Heh, sorry. 3.5.15 ...

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)


More information about the samba-technical mailing list