This should give you what you want:
Code:
# Start of smb.conf
# Global parameters
[global]
workgroup = WorkGroup_Name
server string = File Server
encrypt passwords = yes
# This should be the IP range of your clients
hosts allow = 192.168.1.
security = share
# This is supposed to speed things up
socket options = TCP_NODELAY
# Keep the logs from choking the system
max log size = 50
[User Shares]
path = /User_Files/%u
valid users = %S
writeable = yes
# EOF
That isn't particularly secure, but it will get the job done.
There is one important part you have to do. You need to type:
smbpasswd -a username
For every client that is going to be connecting to the server. When smbpasswd prompts for a password, you must put in their Windows password (if they don't have one, leave it blank).
If there is no matching smbpasswd entry for the Windows client accessing the file server, "%u" will be replaced with "nobody", which will lead to a directory that doesn't exist, and the client will get an error.
Also, the directories under the "path = " variable must exist. If you used my example, and a user named "Mike" connected, you would need to have the directory:
/User_Files/mike
On the system (with the proper permissions set so a user can access it).