Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Commit

Permalink
Update to Samba caveat
Browse files Browse the repository at this point in the history
  • Loading branch information
optimans-corp authored Aug 9, 2020
1 parent b8efb3b commit bf9a566
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,21 @@ If SELinux contexts for Samba is selected, the following properties are set:

ZFS always creates shares in /var/lib/samba/usershares folder when ShareSMB property is enabled. This is also the case even if Cockpit ZFS Manager is managing the shares. To avoid duplicate shares of the same file system, it is recommended to configure a different usershares folder path if required or to disable usershares in the Samba configuration file.

Note: Newer versions of Samba may require the usershares folder to be set to a new path instead of [disabled in configuration](https://github.com/optimans/cockpit-zfs-manager/issues/12):

```bash
$ sudo nano /etc/samba/smb.conf
$ sudo mkdir /var/lib/samba/usershares2
```

Append/Change to [global] section

```
usershare path = /var/lib/samba/usershares2
```

If enabled, Cockpit ZFS Manager manages shares for the file systems only. Samba global configuration will need to be configured externally.

## More Information

* [ServeTheHome and ServeThe.Biz Forums](https://forums.servethehome.com/index.php?threads/25668/)
Expand Down

0 comments on commit bf9a566

Please sign in to comment.