11.07.2018 18:04, Tuyosi T пишет:
hi all . it is supprising openbsd snapshots runs samba . and windows 10 accesses "OpenSamba" . but this may contain some errors . then please point them . 1)/etc/samba/smb.conf [global] workgroup = WORKGROUP server string = SAMBA SERVER Version %v netbios name = OpenSamba security = user passdb backend = tdbsam dos charset = CP932 unix charset = UTF-8 wins support = yes load printers = no disable spoolss = yes [homes] comment = Home Directories valid users = %S, %D%w%S browseable = No read only = No inherit acls = Yes [Share] comment = Share Folder for All Users path = /home/share/ browsable = yes writable = yes read only = no 2) /etc/rc.d/samba restart nmbd(ok) smbd(ok) smbd(ok) nmbd(ok) 3) testparm Load smb config files from /etc/samba/smb.conf rlimit_max: increasing rlimit_max (128) to minimum Windows limit (16384) Processing section "[homes]" Processing section "[Share]" Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions Global parameters [global] disable spoolss = Yes dos charset = CP932 load printers = No netbios name = OPENSAMBA security = USER server string = SAMBA SERVER Version %v wins support = Yes idmap config * : backend = tdb [homes] browseable = No comment = Home Directories inherit acls = Yes read only = No valid users = %S %D%w%S [Share] comment = Share Folder for All Users path = /home/share/ read only = No --- regards
Please explain your problem more clearly. It's nothing wrong with config. Litle remark: you have writable = yes read only = no In your "Share" definition. This is the inverted synonim of each other. You can delete one of them. Also i probably guess that you are trying to write with guest user to directory /home/share. For doing so you need to add option Map to guest = Bad user to "global" section and do in shell: chown -R nobody:nogroup /home/share