[K12OSN] open samba share

Les Mikesell les at futuresource.com
Thu May 4 15:30:37 UTC 2006


On Thu, 2006-05-04 at 10:05, Doug Simpson wrote:

> I have a linux/samba server and I need a share set up that will allow 
> connections and give R/W access without requiring a login.

If you want completely public access you have to set
security = share
Otherwise it needs to identify the user at the connection
level before it can even see the share that is open.

> In other words, I need this to just be a dumb share, accessible to all, 
> writeable by all, but not requiring usernames and passwords.

If 'all' really means all computers logged into a domain you
can use
security = server
 and
password server = yourPDC
and access will be transparent.
If 'all' includes computers not in a domain, then you need
to change the security level to share.

> I will be setting the host.allow to only allow certain computers to use 
> it, but I need this to work.
> 
> What will I need in the share definitions in /etc/samba/smb.conf
> 
> I have tried this an other. . .
> 
> [generic]
> 	path = /samba/generic
> 	guest = yes
> 	read only = no
> 	browseable = no
> 	force create mode = 0777
> 
> and the path is set to RWX for everyone on the /samba/generic directory.
> 
> Still requires a login to access the share. . .
> 
> Any ideas?

You also may need to have
guest account = 
to some user that exists in the password file and you
might want to add a 'force user =' to the share.

-- 
  Les Mikesell
   les at futuresource.com





More information about the K12OSN mailing list