Last active
March 12, 2021 16:24
-
-
Save raspi/9986175 to your computer and use it in GitHub Desktop.
Revisions
-
raspi revised this gist
Oct 23, 2015 . 1 changed file with 0 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -45,9 +45,7 @@ force directory mode = 0666 force create mode = 0666 create mask = 0666 directory mask = 0666 read only = no public = no writable = yes -
raspi revised this gist
Oct 22, 2015 . 1 changed file with 60 additions and 40 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,48 +1,68 @@ # Samba 4 config example # Connected to existing remote Samba 4 Active Directory Directory Controller # ZFS pool @ /storage # Network is 192.168.101.0/24 # Samba is installed with: # pkg install samba42 # and then joined to existing AD with: # samba-tool domain join <params> # After this /usr/local/etc/smb4.conf is edited and restarted with /usr/local/etc/rc.d/samba_server restart # Global parameters [global] server string = Samba Server hosts allow = 192.168.101. 127.0.0.1 load printers = no max log size = 50 # Add aio_load="YES" FreeBSD's /etc/rc.conf aio read size = 16384 aio write size = 16384 aio write behind = true use sendfile = true read raw = true min receivefile size = 16384 interfaces = 192.168.101.0/24 dns proxy = no # These files are never saved veto files = /Thumbs.db/.DS_Store/._.DS_Store/.apdisk/ delete veto files = yes workgroup = HOME realm = home.lan netbios name = STORAGE server role = active directory domain controller [netlogon] path = /var/db/samba4/sysvol/home.lan/scripts read only = No [sysvol] path = /var/db/samba4/sysvol read only = No # ZFS pool [storage] path = /storage force directory mode = 0666 force create mode = 0666 create mask = 0666 security mask = 0666 directory mask = 0666 directory security mask = 0666 read only = no public = no writable = yes vfs objects = zfsacl nfs4:mode = special nfs4:acedup = merge nfs4:chown = yes vfs object = recycle # Remove deleted files to recycle bin directory with username and timestamp recycle:repository = /storage/recyclebin/%U/%T recycle:keeptree = Yes recycle:touch = Yes recycle:versions = Yes recycle:directory_mode = 0666 recycle:subdir_mode = 0666 nt acl support = yes inherit acls = no map acl inherit = yes -
raspi revised this gist
Dec 12, 2014 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,6 +12,8 @@ passdb backend = tdbsam socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536 interfaces = 192.168.0.0/16 dns proxy = no veto files = /Thumbs.db/.DS_Store/._.DS_Store/.apdisk/ delete veto files = yes [homes] comment = Home Directories -
raspi revised this gist
Jun 25, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,7 @@ load printers = no log file = /var/log/samba/log.%m max log size = 50 passdb backend = tdbsam socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536 interfaces = 192.168.0.0/16 dns proxy = no -
raspi created this gist
Apr 5, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,46 @@ # ZFS pool @ /storage [global] workgroup = LAN server string = Samba Server security = user hosts allow = 192.168. 127. load printers = no log file = /var/log/samba/log.%m max log size = 50 passdb backend = tdbsam socket options = SO_RCVBUF=8192 SO_SNDBUF=8192 interfaces = 192.168.0.0/16 dns proxy = no [homes] comment = Home Directories browseable = no writable = no [printers] comment = All Printers path = /var/spool/samba browseable = no guest ok = no writable = no printable = no # ZFS pool [storage] path = /storage/Users/%U public = no writable = yes unix extensions = no vfs objects = zfsacl nfs4:mode = special nfs4:acedup = merge nfs4:chown = yes vfs object = recycle recycle:repository = /storage/recyclebin/%U recycle:keeptree = Yes recycle:touch = Yes recycle:versions = Yes nt acl support = yes inherit acls = no map acl inherit = yes