<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br>So I followed the guide, as you said. How do I check if those ports are<br>open? Is there a problem if SELinux is on? I think it is, not really sure.
<br><br>About that linuxuser = windowsuser<br><br>I want to share files from my account, which is "blackline" in linux,<br>and the user on the windowscomputer is "Larsas", so then, should I write<br>"blackline = Larsas"?
</blockquote><div><br>
yes it should be like this.<br>
<br>
for adding the samba password for user blackline<br>
<br>
smbpasswd -a blackline<br>
 </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">How do I share files then, from the Linuxmachine? Where do I put files I<br>want to share?
<br><br>After doing what you told me i entered "Show all computers in workgroup"<br>from Windows, there i saw "Larsas" and "Samba Server (Localhost)"<br></blockquote></div><br>
<br>
<br>
there are few examples given in /etc/samba/smb.conf  how to share the files.<br>
<br>
;[myshare]<br>
;   comment = Mary's and Fred's stuff<br>
;   path = /usr/somewhere/shared<br>
;   valid users = mary fred<br>
;   public = no<br>
;   writable = yes<br>
;   printable = no<br>
;   create mask = 0765<br>
<br>
[public]<br>
;   path = /usr/somewhere/else/public<br>
;   public = yes<br>
;   only guest = yes<br>
;   writable = yes<br>
;   printable = no<br>
<br>
Like this you can share the files.<br>
<br>
Don't forget to check the configuration file with testparm and reload/restarting the smb service after making changes.<br>
<br>
testparm<br>
<br>
service smb reload<br>
<br>
Regards<br>
<br>
Ankush Grover<br>
<br>