Samba

Audit SMB activity with VFS Modules

August 1, 2018
Storage, Security
CIFS, Samba

We have a central instance of smbd that we allow users to have home directories on, as well as project specific shares. It’s a beefy ZFS on Linux instance that we call “tank” in reference to Jeff Bonwick’s discussion of the humble ZFS beginnings within Sun. We run a backup strategy between it and a couple other trailing-mirrored instances that we’ve positioned around the facility. We’ve been eyeing ceph but are waiting to see how BlueStore pans out in the next major ceph releases. ...

Painless CIFS targets via systemd

April 17, 2017
Linux
Systemd, CIFS, Samba

With Linux as my primary environment daily, I need to be able to consume CIFS shares in a variety of different environments. Systemd has some amenities that allow you to continue using the conventional file system table but with helpful coordination that doesn’t require user intervention. Some assumptions: You are running ArchLinux, or some distribution that is consuming systemd without mucking to deeply in the internals You understand how to manage mount points via the fstab You understand the basics of networking You understand the basics of user identification As I move around to different networks I prefer to be able to dynamically mount/un-mount CIFS targets transparently without manual intervention. ...