AD users unable to access Samba Share

I have a RHEL 7.6 server joined to AD using sssd and realm. I am able to ssh into the Linux servers as AD users, but the same users are unable to access the Samba share configured in the server. When I try to access the share from Windows Server 2012 R2 Standard, it keeps prompting me for the password.

This is how I configured smb.conf

client signing =yes
client use spnego =yes
kerberos method = secrets and keytab
log file = /var/log/samba/%m.log
###ntlm auth =yes

template homedir = /home/%U

idmap config * : backend = tdb
idmap config * :  range = 10000-199999
idmap config DOMAIN: backend = sss
idmap config DOMAIN : range = 200000-2147483647

Please check and let me know how I can let AD users to access the shared directories.

Go to Source
Author: rohit pillai