|I had already done that but still the users getting the same error. That's why I posted here.|
Had you stated that in your original post, you would have saved me some time and effort.
Did you create a user account for them?
Looking at your original post it doesn't look like it:
Logon failure: the user has not been granted the requested logon type at this computer.
Create a user account on the PC with the shared folder for everybody who will connect to the share. When creating their accounts, I use the same login name and password (have them enter it) they used to login to their PC's. This should save them having to authenticate when they connect to the shared drive.
You will have to add the users to the share and grant them appropriate permissions.
It matters not how straight the gate,
How charged with punishments the scroll,
I am the master of my fate;
I am the captain of my soul.