Use any text editor of your choice. I personally use vi, but if you don't know vi it is difficult to expalin. Open one of the editors from the KDE start button...Editors. Probably kedit.

Paste the code below into the editor:
Code:
# Global parameters
[global]
workgroup = MIDEARTH
netbios name = HOBBIT
security = share
[data]
comment = Data
path = /mnt/hda1
read only = Yes
guest ok = Yes
Save the file as /etc/samba/smb.conf

You can replace MIDEARTH with anything you like.

Good luck!

Mike