Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
home_server:home_server_setup:other_services:samba [2021-12-29 Wed wk52 07:55] baumkphome_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>linux samba}}
 ======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 stopped using Fedora as I had noob pain with Selinux, coupled with the short service life of Fedora, so I moved to Ubuntu, where I had a lot more success.\\ 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 stopped using Fedora as I had noob pain with Selinux, coupled with the short service life of Fedora, so I moved to Ubuntu, where I had a lot more success.\\
Line 4: Line 5:
 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.\\ 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: ''sudo apt install samba samba-client''   * To install: ''sudo apt install samba samba-client''
Line 292: Line 293:
 </code> </code>
 ++++ ++++
 +====samba check commands====
 +Some samba check commands:
 +  * ''smbclient -L 192.168.1.10'' list the available shares on the host IP
 +  * ''pdbedit -w -L'' list the current users on the samba host
 +  * ''sudo systemctl status smbd'' smdb.service is the systemd services name.....
 +  * ''testparm'' will list the samba configuration parameters.
  
-Links:+====Links====
   * [[https://wiki.debian.org/Samba/ServerSimple|Samba Server Simple]]   * [[https://wiki.debian.org/Samba/ServerSimple|Samba Server Simple]]
   * [[https://www.server-world.info/en/note?os=Debian_11&p=samba&f=2|Samba : Limited Shared Folder]]   * [[https://www.server-world.info/en/note?os=Debian_11&p=samba&f=2|Samba : Limited Shared Folder]]
Line 299: Line 306:
 ---- ----
  
-<- home_server:home_server_setup:other_services:apt|Prev ^ home_server:home_server_setup:other_services:index|Start page ^ home_server:home_server_setup:other_services:misc|Next ->+<- home_server:home_server_setup:other_services:apt|Prev ^ home_server:home_server_setup:other_services:index|Start page ^ home_server:home_server_setup:other_services:logrotate|Next ->