/data directory on linux server should make available on windows to only john with full access but read only to other users and make sure that /data can access only within example.com domain. Configure to make available.
/etc/samba/smb.conf. There are some pre-defined section, i. globaluse to define the global options, ii. Printersuse to share the printers, iii. homesuse the share the user’s home directory.
Security=uservalidation by samba username and password. May be there are other users also. To allow certain share to certain user we should use valid users option.
smbpasswdHelps to change user’s smb password. –a option specifies that the username following should be added to the local smbpasswd file.
If any valid users option is not specified, then all samba users can access the shared data. By Default shared permission is on writable=no means read only sharing. Write listoption is used to allow write access on shared directory to certain users or group members.
Options Selected by Other Users:
Option A: (20 votes)
100%
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit