I’m running into trouble with the tip “Switching Samba on:”. When I open System Services in YaST, the SMB daemon is enabled under “Simple Mode,” but not under “Expert Mode.” Also, in Simple Mode, the Yes is followed by a . Like this: Yes
What does this star (*) mean? Is Samba enabled or not? Also, in expert mode, runlevels 3 and 5 are checked off. Is this correct? When I choose “Start Now…”, while selecting SMB in expert mode, the NO turnes to Yes, however, when I click “OK” (closing System Services) and re open it, SMB is back to No in expert mode.
Any help or insight would be greatly appreciated!
An asterisk (*) after a service status means that the service is enabled but not running or is disabled but running now.
It seems that you have well know problem with AppArmor. You can just disable AppArmor at all from Yast/AppArmor Control Panel.
Then you can enable just in simple mode the samba server, or just set in Yast/Samba Server/Service Start/During Boot.
Also you can set all options of Samba server here in Yast/Samba Server.
the service start/stop/restart can be done also from shell rcsmb start, rcsmb stop, rcsmb restart
Thanks to both of you. Both solutions worked! For the time being, I’ve completely shut off appArmor until I’m done configuring Samba. Once I’m done I will place nmb and smb under warning. Thanks Again!
Here I’m going to diverge from the topic a bit:
I have also been having problems with my backup cronjobs running. I have set them up in webmin 1.540. Could this also be caused by appArmor?
as far as I know there is no any conflict of crontab with AppArmor. But you can disable it if you have some suspicions. I don’t use webmin but, as I understand, at the end of day, it should add in the crontab a line with your command. So you can check if it was added by running “crontab -l” in the shell (with user you’ve added it).
If it is there then check parameters, logs…
You were correct. I disabled AppArmor and my cronjobs still are not running (even after re-setup in webmin). I will open a new thread for this thanks.
The link to the new thread is below: Webmin CronJobs not running