Comments on: How to Install and Configure Samba on RHEL 8 | CentOS 8 https://www.linuxtechi.com/install-configure-samba-centos-8/ Wed, 04 Oct 2023 15:32:48 +0000 hourly 1 By: Kim AndrĂ© Nyhagen https://www.linuxtechi.com/install-configure-samba-centos-8/#comment-55198 Fri, 23 Jun 2023 08:58:05 +0000 https://www.linuxtechi.com/?p=9890#comment-55198 Had an issue where i could not access “secured”, the reason was that i had changed the name for the group from @secure_group to MYNAME, fixed in config, restartet SMB, and gained access (Y)

]]>
By: SiB https://www.linuxtechi.com/install-configure-samba-centos-8/#comment-23780 Tue, 19 Oct 2021 10:01:51 +0000 https://www.linuxtechi.com/?p=9890#comment-23780 [global]
ntlm auth = yes
Thanks to that I can enter to password protected share from Windows 10.

]]>
By: Danny https://www.linuxtechi.com/install-configure-samba-centos-8/#comment-23071 Mon, 17 May 2021 09:01:49 +0000 https://www.linuxtechi.com/?p=9890#comment-23071 Do you guys didnot have a problem with selinux?
In my case, when i enabled selinux (/etc/selinux/config), Samba doesnot work properly.
So I had to disable it. Is this correct?

]]>
By: Bryan https://www.linuxtechi.com/install-configure-samba-centos-8/#comment-22830 Sun, 28 Feb 2021 20:57:15 +0000 https://www.linuxtechi.com/?p=9890#comment-22830 I followed the directions exactly. I was able to finally access the folders from a Windows os machine, an iMac, and a linux Ubuntu laptop. However, ALL could only access with IP address and Anonymous. (eg xxx.xxx.xxx.xxx/Anonymous) and non would hit using /centos-8. Although the CENTOS-8 shows up as a network group on Mac and linux, it’s just not reachable.

Thank you so much for this walk though on set up. It was exactly what I needed.

]]>
By: Raymond https://www.linuxtechi.com/install-configure-samba-centos-8/#comment-22706 Wed, 20 Jan 2021 22:27:31 +0000 https://www.linuxtechi.com/?p=9890#comment-22706 There were some typos in the command syntax (Samba should smb in the CLI), but it worked fine for me up to the time to access files in the Windows share from the CentOS system. When I entered smbclient //10.0.0.39/secured -U linuxuser, it asked me for a password, and I entered the password that I created for the user linuxuser both on the linux CLI and on the Windows 10 system, I received this error Tree connectfailed: NT_STATUS_BAD_NETWORK_NAME

]]>
By: Eli https://www.linuxtechi.com/install-configure-samba-centos-8/#comment-21665 Thu, 10 Sep 2020 20:03:41 +0000 https://www.linuxtechi.com/?p=9890#comment-21665 In reply to Allan.

# sudo chcon -R system_u:object_r:samba_share_t:s0 /srv/samba/shared

]]>
By: Eli https://www.linuxtechi.com/install-configure-samba-centos-8/#comment-21664 Thu, 10 Sep 2020 20:02:05 +0000 https://www.linuxtechi.com/?p=9890#comment-21664 In reply to Lee Blevins.

# sudo systemctl restart smb.service

]]>
By: Eli https://www.linuxtechi.com/install-configure-samba-centos-8/#comment-21663 Thu, 10 Sep 2020 20:00:17 +0000 https://www.linuxtechi.com/?p=9890#comment-21663 # sudo chcon -t samba_share_t /srv/samba/shared
chcon: can’t apply partial context to unlabeled file ‘/srv/samba/shared’

use this instead:
# sudo chcon -R system_u:object_r:samba_share_t:s0 /srv/samba/shared

]]>
By: kay https://www.linuxtechi.com/install-configure-samba-centos-8/#comment-20783 Thu, 25 Jun 2020 05:21:11 +0000 https://www.linuxtechi.com/?p=9890#comment-20783 sudo chcon -t samba_share_t /srv/samba/secure_share

i did this and it worked fine for me

]]>
By: Lee Blevins https://www.linuxtechi.com/install-configure-samba-centos-8/#comment-20684 Mon, 15 Jun 2020 04:11:48 +0000 https://www.linuxtechi.com/?p=9890#comment-20684 sudo chcon -t samba_share -p /srv/samba/secure_share
Unknown option -9

sudo systemctl restart samba
Failed to restart samba.service: Unit samba.service not found.

]]>