[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SAMBA: Help!!



On Tue, 8 Sep 1998, bmorgan wrote:

> This is a reposting of a previous message.  I'm starting to get
> desperate.  Any help would be greatly appreciated!
> 
> I'm having trouble connecting to my debian machine from my windows
> machine using samba.  I've successfully done this before, but now I've
> got several users connecting to the samba server for IP printing to
> jet-direct boxes.  Right now, I've got my SMB.CONF file set so that it
> uses the workgroup "linux" and "security = user."  All my users should
> be able to connect with the same login name (student), and no password.
> 
> Is it possible for multiple users to connect to the samba server all
> using the same login name?  Or do I need to have a separate account for
> everyone who connects (the latter would NOT be a good scenario, if I can
> 
> avoid it).  Is there something else I need to set in the smb.conf file
> to allow multiple users with the same login name?  Perhaps the "security
> =" parameter?


If you use "security = share" no user/password information at all is
needed to access the public shares on the machine. But if you like to
restrict the access you will have to do it for each and every share in
/etc/smb.conf

shares example:

[publicro]
  comment = Public read only
  browseable = yes
  read only = yes
  public = yes
  path = /public_readable_path

[publicrw]
  comment = Read/write for all
  browseable = yes
  writable = yes
  public = yes
  path = /public_writable_path

[studentfolder]
  comment = Read/write for user student
  browseable = yes
  writable = yes
  public = no
  path = /student_path
  valid users = student


Good luck
/Fredrik


Reply to: