Sonic
2015-Dec-07 23:21 UTC
[Samba] Problems mapping a network drive on my PC to a LINUX directory using samba
On Mon, Dec 7, 2015 at 5:16 PM, Kenneth Watanabe <watana43 at unlv.nevada.edu> wrote:>Below is the /etc/samba/smb.cnf fileBy default the file is smb.conf unless you're specifically starting Samba using a different named file.> [share] > path = /home/kwatanabe/share > available = yes > valid users = kwatanabe > read only = No > browseable = yes > public = yes > writeable = yes > create mask = 0777 > directory mask = 0777For starters I would suggest simplifying your share definition: In at least one case you use the main parameter and its synonym, too easy to shoot yourself in the foot this way. I also suggest using the main parameters and staying away from their synonyms for consistency, readability, and troubleshooting - I've wished for Samba to deprecate the synonyms for a long time. You may consider dropping the parameters that are simply echoing the defaults. Next drop the conflicting statements - you're stating only a specific user is valid "valid users = kwatanabe", yet also claiming "guests ok = yes" (you're using the synonym "public"). And temporarily drop the mask parameters until you have the basics down. Leaves us with: [share] path = /home/kwatanabe/share valid users = kwatanabe read only = No Then make sure you've added the user kwatanabe to Samba and set its Samba password. Note that I'm not aware of "share" being a reserved name in Samba but you may want to stay away from it as a section name as it is a possibility. Always test your smb.conf file with "testparm". And make sure the guest account actually exists on your system "username map" can assist if needed. As to the missing protocols on you Windows system (you may need them), that's for the Windows support forum :-) Chris
Possibly Parallel Threads
- Unable to map a network drive on my PC to a shared directory on my LINUX server.
- Enhance synonyms feature of the query parser (patch included)
- requesting advice on integrating openssh & solaris secure RPC
- synonym expansion for boolean prefixes.
- Association to indicate synonyms