On Wed, Oct 02, 2002 at 11:43:29AM -0400, Bill Mills-Curran wrote:
I want to set up some samba shares to be mounted on my win98 box, and I'd like to protect the shares with usernames and passwords, but I can't remember how to specify a username from the win98 box. I seem to remember a way by adding the username to the share spec, but I can't find any documentation on the subject.
Any ideas? Or should I use a different approach?
If you have only 5 users, I think the simplest approach is to create a unique share for each person, so that when you go to \\server, you'll see shares for mom, dad, kid1, kid2, kid3. Each one should have an account on the linux box, and each share should have a 'force user' & 'force group' in smb.conf for their own account. That way, if you click on kid1, you have to enter kid1's password, regardless of what Win98 sends for the username. You also have to remember to uncheck 'remember password' too. -Chuck