Try this, it's a better way to share files.
Add a new local user to your system
Code:
mkdir /home/daniel
useradd daniel -d /home/daniel -s /bin/bash
chown daniel:root -R /home/daniel/
chmod -cR 0755 /home/daniel/
create a local password for daniel
create a samba password for daniel
Code:
smbpasswd -a daniel
Now, in your /etc/samba/smb.conf file, make following changes
Add following lines to the same file
Code:
[daniel]
comment = daniel's folder
path = /home/daniel
writable = yes
public = no
valid users = daniel
create mask = 0755
Run testparm to see if you have configured smb.conf file correctly
If everything looks fine, restart samba by using
Code:
/sbin/service smb restart
or
Code:
/etc/init.d/rc.d/smb restart
Now you can access your shared folder from any computer on your local network by using the samba password.
Please let me know if it does / doesn't work.