Unable to connect to map samba shared folder in windows
Aim
Create a called Shared_folder which can be accessed by ALL users (group name = users). Therefore, in order to map the drive in windows, the user is promoted to enter valid user credentials. Issue I have the following Shared_folder with the following permissions: Code:
drwxr-xr-x 2 nobody users 4096 Dec 27 00:24 Shared_folder Code:
[Shared_folder] Could someone please shed some light as to how to get this working. Any help would be greatly appreciated. Thanks in advance. |
When you add the users with useradd, add the "-G users" argument to make the users members of the "users" group.
After editing smb.conf, run testparm to check for errors. Check the logs in /var/log/samba/. Some hard to debug errors may be found there such as SELinux or AppArmor restrictions. I think the force group will force the group for file creation and access, but not for authentication. If only members of @users are allowed access, using "force group" is redundant. Also look at group passwords. I've never used them. Normally a user will authenticate with their own password and @users is used for access control. You may need to research and experiment to get it working as you want. Post the global section of smb.conf. We can't tell what security model you are using. |
Code:
[global] |
All times are GMT -5. The time now is 06:14 PM. |