[Samba] Linux Mint 21.3 client AD joined OK but no usb working
Rowland Penny
rpenny at samba.org
Thu Mar 28 19:25:33 UTC 2024
On Thu, 28 Mar 2024 20:10:32 +0100
Kees van Vloten via samba <samba at lists.samba.org> wrote:
> A local daemon will use /etc/nsswitch.conf to lookup UIDs and Winbind
> can supply them.
>
> In addition I make (domain) users member of these local groups:
>
> audio,video,dialout,cdrom,floppy,lpadmin,plugdev,bluetooth,netdev,pulse-access,users
>
> Some users also want to be member of local-groups like: libvirt, kvm,
> docker, vboxusers
>
> You can do this with: usermod -a -G <group> <domain-user>, this
> mechanism works much better than pam_group (which does not work for
> this purpose).
It worked for myself:
SAMDOM\rowland at rpidc1:~ $ groups
domain users dialout cdrom floppy audio video plugdev scanner
BUILTIN\administrators BUILTIN\users domain admins denied rodc password
replication group rowland testgroup
It just didn't help with the problem
>
> I do this when a domain-user logs in and the reverse when (s)he logs
> off with a script triggered by pam-session, a copy is already in the
> list archive somewhere.
Perhaps running a script when a usb drive is inserted might be the way
forward, but I haven't given up on either udev or udisks2 being able to
set the correct ownership
Rowland
>
> - Kees.
>
>
> >
More information about the samba
mailing list