passwords and Win95

Robert Dahlem Robert.Dahlem at
Tue Apr 7 23:19:45 GMT 1998


>Is there any way to have an account that let's multiple users from Windows
>95 clients log in?  i.e., let's say there are shared folders called foo and
>bar.  bar is public.  foo is accessible to user "foobar" with password
>"foobar."  Win95 keeps sending over it's username as the person who logged
>in to that computer, or as the computer's machine name... and samba uses
>that.  I'd rather if they just typed in "foobar" they'd be in foobar's
>account. Can this be done?

Establish a group foobar in /etc/group with all the users that shall be allowed to access the share foobar.


Establish a user foobar in /etc/passwd with GID of foobar.

Then alter your smb.conf to read something like

   path = /anywhere/foobar
   valid users = foobar, @foobar
   force user = foobar
   force group = foobar
   create mode = 771

Then anyone mentioned in group foobar will be allowed to access that share. Any file created there will get UID of 
foobar and GID of foobar and will be readable/writeable for all that people.

HTH ...

Robert Dahlem at
Radio Bornheim - 2:2461/332 at fidonet +49-69-4930830  (ZyX, V34)
                 2:2461/326 at fidonet +49-69-94414444 (ISDN X.75)

More information about the samba mailing list