Hello,
I am trying to mount an external hard drive on /home/samba1/.local/share/containers/storage/volumes/shares/_data/harddrive. The data on the hard drive is visible in the terminal. Unfortunately, no data is visible under Windows network environment \dc1\harddisk. How can I solve this problem?
thanks for your help. When I restart Samba, I get the following error message:
Job for samba-dc.service failed because the control process exited with error code.
See âsystemctl --user status samba-dc.serviceâ and âjournalctl --user -xeu samba-dc.serviceâ for details.
I have changed the permissions to âOwner Samba1â group domainuser". The Samba restart works, but can no longer be clicked on the shares - open.
It is probably due to the authorisations. I enclose a picture.
Did you try to (re)set the permissions of the share, see File server â NS8 documentation
Be careful as setting the permissions may cause wrong permissions when plugged into another machine.
<7>podman exec samba-dc samba-reset-acls -g âDomain Adminsâ -p erw festplatte1
find: âfestplatte1â: Permission denied
set_nt_acl_conn: init_files_struct failed: NT_STATUS_INVALID_PARAMETER
ERROR: Could not set acl for festplatte1: (3221225485, âAn invalid parameter was passed to a service or function.â)
Traceback (most recent call last):
File â/home/samba1/.config/actions/reset-share-acls/50reset_share_aclsâ, line 34, in
phelper.check_returncode()
File â/usr/lib64/python3.11/subprocess.pyâ, line 502, in check_returncode
raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command â(âpodmanâ, âexecâ, âsamba-dcâ, âsamba-reset-aclsâ, â-gâ, âDomain Adminsâ, â-pâ, âerwâ, âfestplatte1â)â returned non-zero exit status 255.
Hello Markus,
I still get the following error message:
<7>podman exec samba-dc samba-reset-acls -g âDomain Adminsâ -p erw festplatte1
find: âfestplatte1â: Permission denied
set_nt_acl_conn: init_files_struct failed: NT_STATUS_INVALID_PARAMETER
ERROR: Could not set acl for festplatte1: (3221225485, âAn invalid parameter was passed to a service or function.â)
Traceback (most recent call last):
File â/home/samba1/.config/actions/reset-share-acls/50reset_share_aclsâ, line 34, in
phelper.check_returncode()
File â/usr/lib64/python3.11/subprocess.pyâ, line 502, in check_returncode
raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command â(âpodmanâ, âexecâ, âsamba-dcâ, âsamba-reset-aclsâ, â-gâ, âDomain Adminsâ, â-pâ, âerwâ, âfestplatte1â)â returned non-zero exit status 255.