I have setup the samba on CENTOS 8 like that:

    workgroup = WORKGROUP
    security = user
    passdb backend = tdbsam

    read only = no
    force create mode = 0660
    force directory mode = 2770
    valid users = lena

and /mnt has the following permissions:

$ ls -l /mnt
drwxrwxrwx. 27 lena lena 4096 Oct 18  2019 md0

But I get the following error on /var/log/samba:

[2020/06/16 17:46:15.738033,  0] ../../source3/smbd/service.c:784(make_connection_snum)
  make_connection_snum: canonicalize_connect_path failed for service e-table, path /mnt/md0

At the same time the client retrieves the following error:

error shown in client

So do you have any idea why that happens? Does affect that on the same time an huge rsync operation is performed on this file as well?


Based upon @Michael Hampton 's comments I enabled the following SELinux settings:

sudo setsebool -P samba_domain_controller on
sudo setsebool -P samba_export_all_ro on
sudo setsebool -P samba_export_all_rw on

And I could mount the folder on CIFS

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.