Hi,


On Mon, Oct 5, 2009 at 12:33 PM, david aliata <aliatadavid@gmail.com> wrote:

I have a small linux/windows network running very well.
Good! so we don't need exotic things like ldap for user storage.. local users :)
solution for this.I would like to implement [homes] or [usershares] for user directories and file storage:from Windows XP.How can i implement this?
The drill usually goes like this
- Create a user account for each user (useradd -m user1 )
- Set a strong passwd (pwgen) if they shouldn't ssh  set their shell to '/bin/false'  (user passwd to adjust the password and edit /etc/passwd to set the shell. Alt, you can give an argument to useradd to set the shell ... man is your friend)
- Add the user to samba store and key in the passwd the user should key in  from windows world (smbpasswd -a user1 )
- Set the shares by reviewing /etc/samba/smb.conf (it's dead simple)
- Restart samba
- try ( net use  or \\server\share to connect to your share)
- if fail
  :Check logs
  :verify you don't have a restrictive MAC setup ...selinux/apparmor
  :Increase verbosity in the samba configuration and follow your logs