[CentOS] Samba won't start on Centos 7.3.1611
me at tdiehl.org
me at tdiehl.org
Mon Oct 9 22:56:10 UTC 2017
On Mon, 9 Oct 2017, Alan McKay wrote:
> Hi folks,
>
> I've been googling for an hour on this which seems to be awfully
> basic. But I cannot find anything definitive.
>
> [root at centos-gig ~]# systemctl enable smb.service
> Failed to execute operation: Access denied
> [root at centos-gig ~]# setenforce 0
> [root at centos-gig ~]# systemctl enable smb.service
> Failed to execute operation: No such file or directory
Does /usr/lib/systemd/system/smb.service exist? It does not look like it
based on the error above.
Does "rpm -V samba" show anything useful?
>
> Have tried things like :
> chcon -t samba_share_t /home/amckay
>
> Also took the output from:
> getsebool -a | grep samba
>
> and set all them to "on"
The selinux stuff means nothing if you have selinux set to permissive.
>
> Stripped my config down to the most basic.
>
> What am I missing?
>
>
> # Global parameters
> [global]
> netbios name = centos
> security = USER
> idmap config * : backend = tdb
Is this a standalone server?
>
> [homes]
> comment = Home Directories
> browseable = No
> inherit acls = Yes
> read only = No
> valid users = %S %D%w%S
Does testparm show any errors?
HTH,
--
Tom me at tdiehl.org
More information about the CentOS
mailing list