Cannot mount SMB share from a CentOS 7 client

Huaming

Cadet
Joined
Oct 13, 2022
Messages
8
Hi All,

I have an TureNAS with laster version installed on a physical server. It's been operational since two months. I used our AD as auth means. So we can use AD user to access the share (SMB), which works well. Today, I want to mount a SMB share from a CentOS 7 client on TureNAS. I did below steps. but I cannot make it work

1. create an account 'test' into trueNAS console, then create a group 'testgroup', add 'test' into 'testgroup'. The attribution of group 'testgroup' is 'bulltin' off and 'samba authentication :true
2. Goto 'sharing/smb', click 'edit filesystem ACL' of that SMB I want to map. Add 'testgroup' into ACL, click save
3. access centos client. mount -t cifs //cnshafs01/IT/Backup /store/backups/nagios -o username=test,password=XXX. shows below error
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

4. then i used domain user instead. and found the smb share can be mapped on the centos client.

I've spent half a day on that already. but no clue yet. Can somebody help or advise. Thanks very much.

Huaming
 
Top