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.