[Samba] default backend = rid not showing full group information for users

Rowland penny rpenny at samba.org
Tue May 5 07:31:08 UTC 2020


On 04/05/2020 22:18, Magnus Holmgren via samba wrote:
> måndag 4 maj 2020 kl. 22:22:04 CEST skrev  Rowland penny via samba:
>> On 04/05/2020 21:06, Magnus Holmgren via samba wrote:
>>> måndag 4 maj 2020 kl. 20:45:37 CEST skrev  Rowland penny via samba:
>>>> On 04/05/2020 19:24, Magnus Holmgren via samba wrote:
>>>>> The systemd NSS module handles dynamically allocated users and groups
>>>>> when
>>>>> a unit has DynamicUser=true. See systemd.exec(5).
>>>> Care to say where that would be used ?
>>> Wherever you want, I guess. I think the idea is to isolate network
>>> services
>>> better from each other than if you run them as nobody.
>> So you don't actually know of a case where it could be used, I will just
>> stick to removing 'systemd' from nsswitch.conf, others can do as they wish.
> I thought you were asking for a use case. No, if you don't have any systemd
> units that make use of the dynamic user feature, you don't need to include
> that NSS module. Strictly speaking, you don't need it even you do use that
> feature; that just means you can't translate the uids and gids, but since they
> are ephemeral and not supposed to own any files, other than possibly temporary
> ones, I don't see how that's much of a loss.

OK, I will try this another way, just what are 'dynamic users' and what 
would you use them for ?

I have only been using Linux since shortly after Linus released it and I 
have never used a 'dynamic user' or felt the need to.

Rowland






More information about the samba mailing list