Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
home_server:home_server_setup:other_services:samba [2021-12-28 Tue wk52 12:42] – baumkp | home_server:home_server_setup:other_services:samba [2023-04-30 Sun wk17 17:43] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{tag> | ||
======samba====== | ======samba====== | ||
- | I have not look at samba much since I first attempted to set up my home sever circa 2011 on Fedora before I moved to Ubuntu. | + | I have not look at samba much since I first attempted to set up my home sever circa 2011 on Fedora before I moved to Ubuntu. |
Samba seems to pretty much just work. I was lazy and tended to just use Webmin to set this up. However as I did not use Webmin for much else I have elected to to set it up now that I moved my server to Debian. | Samba seems to pretty much just work. I was lazy and tended to just use Webmin to set this up. However as I did not use Webmin for much else I have elected to to set it up now that I moved my server to Debian. | ||
- | Samba is pretty much mandatory, as a lot of services smb use it as default. | + | Samba is pretty much mandatory, as a lot of services smb use it as default.\\ |
+ | My main form of security it to limit external access to my lan, hence samba security is low. More focused on easy use.\\ | ||
+ | ====samba basic setup==== | ||
High level requirements: | High level requirements: | ||
* To install: '' | * To install: '' | ||
- | + | * Adjust the smb.conf file: '' | |
- | + | * Add and enable users: '' | |
- | '' | + | ++++smb.conf| |
- | ++++|smb.conf | + | |
< | < | ||
# Sample configuration file for the Samba suite for Debian GNU/Linux. | # Sample configuration file for the Samba suite for Debian GNU/Linux. | ||
Line 67: | Line 68: | ||
# option cannot handle dynamic or non-broadcast interfaces correctly. | # option cannot handle dynamic or non-broadcast interfaces correctly. | ||
; bind interfaces only = yes | ; bind interfaces only = yes | ||
- | |||
- | |||
#### Debugging/ | #### Debugging/ | ||
Line 90: | Line 89: | ||
# Do something sensible when Samba crashes: mail the admin a backtrace | # Do something sensible when Samba crashes: mail the admin a backtrace | ||
panic action = / | panic action = / | ||
- | |||
####### Authentication ####### | ####### Authentication ####### | ||
Line 269: | Line 267: | ||
# to the drivers directory for these users to have write rights in it | # to the drivers directory for these users to have write rights in it | ||
; write list = root, @lpadmin | ; write list = root, @lpadmin | ||
- | |||
[home] | [home] | ||
Line 294: | Line 291: | ||
path = / | path = / | ||
writeable = yes | writeable = yes | ||
- | <\code> | + | </code> |
++++ | ++++ | ||
+ | ====samba check commands==== | ||
+ | Some samba check commands: | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
- | Links: | + | ====Links==== |
* [[https:// | * [[https:// | ||
- | + | * [[https:// | |
---- | ---- | ||
- | <- home_server: | + | <- home_server: |