SAMBA Configuration Help Please
-
- Posts: 5
- Joined: 2017/10/20 12:51:46
SAMBA Configuration Help Please
Hey all,
I'm trying to set up CentOS 7 as a SAMBA server to serve media files (NTFS formatted disks) to my home theater PC. I can't even see the share on my home network when using the computers with the allowable IPs specified in the configuration file. I'm using WebMin to configure the server. When I try to set share level permissions, the SMB service won't start. The only time the service works is when I set user level permissions. I did some searching, but I couldn't find an answer. I'm sure I'm overlooking something that is trivial. Thank you so much!
I'm trying to set up CentOS 7 as a SAMBA server to serve media files (NTFS formatted disks) to my home theater PC. I can't even see the share on my home network when using the computers with the allowable IPs specified in the configuration file. I'm using WebMin to configure the server. When I try to set share level permissions, the SMB service won't start. The only time the service works is when I set user level permissions. I did some searching, but I couldn't find an answer. I'm sure I'm overlooking something that is trivial. Thank you so much!
Re: SAMBA Configuration Help Please
Did you also allow the access through your firewall? You'll either be using firewalld or iptables-services and depending on which you'll need to use firewall-cmd or iptables to add some rules to allow samba access.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 5
- Joined: 2017/10/20 12:51:46
Re: SAMBA Configuration Help Please
Thank you for the quick response. I'll go ahead and check that out now. Thank you.
-
- Posts: 5
- Joined: 2017/10/20 12:51:46
Re: SAMBA Configuration Help Please
I've added rules for samba and samba-client using Webmin and in firewalld. I've also opened up ports 137-139, 445, 9090, 10000, and 22. The 137 and 138 ports don't show up when I ran Zenmap port scanner on the SAMBA server. I still can't get the server to show up on my Windows 10 Homegroup. I don't really know what is going on with this. I'm just getting back into Linux with this distribution since I thought it would be fairly straightforward, but I've never set up a SAMBA server. Thanks for any advice you guys can give me.
Re: SAMBA Configuration Help Please
Did you run firewall-cmd -add-service=samba --permanent and then again without --permanent?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 5
- Joined: 2017/10/20 12:51:46
Re: SAMBA Configuration Help Please
I just did. I got a "firewall-cmd: error: unrecognized arguments: -add-server=samba". I'm still researching this stuff and have followed what guides I can find. I just wanted anyone helping me to know that I am working on helping myself as well. Thank you!
Re: SAMBA Configuration Help Please
Sorry that was a typo, my fingers were apparently in automatic. Should have been --add-service not --add-server
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 5
- Joined: 2017/10/20 12:51:46
Re: SAMBA Configuration Help Please
I found another good tutorial on using Webmin for this. I'm actually able to see my share now on my Windows 10 machine. Now I just need to get it to mount the NTFS partition and we are golden.
-
- Posts: 2019
- Joined: 2015/02/17 15:14:33
- Location: Bulgaria
- Contact:
Re: SAMBA Configuration Help Please
For NTFS support you need a package from the epel repository.
The package name is "ntfs-3g".
The package name is "ntfs-3g".