Setting up Shares on Debian(6.0.4) with Samba(3.6.3)
For learning purposes, I've been playing around with basic functions in Linux. I'm trying to set up some shares on my Debian server but I've hit a snag and I'm hoping some kind soul here might be able to help.
Neither computer is in a domain. I have 3 directories set up to share. I can connect to all the shares from my Windows 7 box. However, when I try to restrict any of the directories using the 'valid users' option in smb.conf, I get a dialog box prompting me for the username/password when I try to connect in Windows. The user I chose does have a profile for both Linux and Samba. It doesn't take any credentials I give.
So I have a few questions :
1. What should I be using for the credentials? I've been trying the computername\username followed by the password.
2. While I can connect to the shares where I don't restrict the user(s), I can only do so by IP, what would I have to do to allow a connection by computer name?
3. I'm also curious on how I can restrict access by groups as opposed to individual users but how can that be achieved?
Any help is appreciated. Thanks.