On Mon, Nov 29, 2021 at 1:57 PM Matthew Miller <mattdm(a)fedoraproject.org> wrote:
On Mon, Nov 29, 2021 at 07:46:14PM +0200, Alexander Bokovoy wrote:
> >Stephen said that he looked and it seems to have some other dependencies?
>
> I do not see anything else beyond cockpit, samba, and python3.
Yep and I just tried it and it worked. I had to manually add `include =
registry` to `[global]` in `/etc/samba/smb.conf`.
Would that be something that might be appropriate to make the default?
Playing around with it, this tool also appears to only understand
users that are returned by `getpwent()` calls (which means that
network users served by SSSD would not be visible unless
`enumerate=True` is set, which is a performance hit). I might look
into patching this to allow a user to be specified directly.
Alexander: Does samba have a drop-file configuration anywhere? So we
could specify `include = registry` when this Cockpit plugin is
installed, but not otherwise?