I am using the below script and trying to mount the samba mount with normal user with domain permission but always i am getting error saying “mount.cifs: permission denied: no match for /home/xxxx@yours.com/xxx_mnts/cdata/xxx_PROJECTS found in /etc/fstab”
OK, first thing is that the username is ‘xxxx@yours.com’, are your usernames in this format ?
Unless you have changed something, mount must be run by root or with sudo.
What works for me between two Samba Unix domain members is:
Thanks for the reply!!! Please find my reply below
“OK, first thing is that the username is ‘xxxx@yours.com’, are your usernames in this format? I have edited this place to avoid exposing my domain. And I forgot to mention that with sudo and root access, the said script is working well, but it is not helping me to gain the folder access policy from my AD.”---- SO trying to mount the shares using the direct user permission which is not happening
I realised that you had sanitised the command, but is the username being set to ‘xxx@yours.com’ (that is the UPN) ?
I can logon using ‘DOMAIN\username’ , ‘username’ and ‘username@dns.domain.tld’, but this is using Samba without sssd.
The sample mount command I posted is a working example, just sanitised.
Hi Thank you for your support and i wan to inform you that i have successfully mounted with proper permission using the script as sssd properly configured. Thanks for github co pilot which helped me in fixing the same