# Samba/SMB

## Configuration

My user is set up in unix groups that correspond to the groups outlined in the following config sections and added in the groups `paperless` and `timemachine`.

## Paperless-ngx Consumer Share

```
[paperlessngx-consumer]
comment = Paperless-ngx Consumption Directory
path = /path/to/consumer/directory
# Make this share accessible to all users in the paperless group
valid users = @paperless
write list = @paperless
public = no
writable = yes
printable = no
```

## Time Machine Share

```shell
[krypton-timemachine]
comment = Time machine backup share
path = /path/to/time/machine/backups
# Make this share accessible to all users in the timemachine group
valid users = @timemachine
write list = @timemachine
public = no
writable = yes
printable = no
```