home_server:home_server_setup:other_services:samba

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
home_server:home_server_setup:other_services:samba [2021-12-29 Wed wk52 07:52] 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''
   * Adjust the smb.conf file: ''sudo vim /etc/samba/smb.conf''   * Adjust the smb.conf file: ''sudo vim /etc/samba/smb.conf''
-  * +  * Add and enable users: ''sudo smbpasswd -a USER'', ''​sudo smbpasswd -e USER'' I use the same user name and passwords as main Linux log.
 ++++smb.conf| ++++smb.conf|
 <code># <code>#
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 ->
  • /app/www/public/data/attic/home_server/home_server_setup/other_services/samba.1640735564.txt.gz
  • Last modified: 2023-04-30 Sun wk17 17:44
  • (external edit)