Hello,
I just enabled samba with a basic configuration.
It seems that if you want to login from mac/windows the access is always denied.
Removing those lines from rockstor smb.conf configuration fix the issue:
root preexec = “/opt/rockstor/bin/mnt-share sharename”
root preexec close = yes
There are no errors in the logs except the permission denied to login.
Thanks @Flox
Wasn’t aware about that post I have disabled it but unfortunately I cannot reboot the system right now. Only stopping the apparmour is not fixing the issue. Also disabled the ipv6 via sysctl -w for the moment.
I’ll come back with a feedback after my btrfs delete comand will end. I think it will take a week or so
P.S. I think a warning in rockstor web gui that the apparmour is not disabled will help users a lot
As explained by @phillxnet, AppArmor will be disabled by default in the new installer so that shouldn’t be a problem for now. I believe the goal would be to make Rockstor compatible with AppArmor in the future, though, so that can of indicator would definitely be a good idea.