Is it possible to have a "password-less" share available to only certain users? I've been searching all over and could not find anything.
> Is it possible to have a "password-less" share available to only > certain users?From the "smb.conf" man page: guest ok (S) If this parameter is yes for a service, then no password is required to connect to the service. Privileges will be those of the guest account. This parameter nullifies the benefits of setting restrict anonymous = 2 See the section below on security for more information about this option. Default: guest ok = no
>> Is it possible to have a "password-less" share available to only >> certain users?Ooops! I suppose the key expression for you here is "only certain users". Perhaps a combination of the "guest account" and "guest ok" parameters in the share definition? Make those users part of the group defined with "guest account" and then use "guest ok = yes".
Here's what I got. I want to allow a 'password-less' log-in that will allow only user1 and user2 to access share_zero, can this be done? I know that I can make it public, but that's not really an option as I need to restrict access to just a hand full of users. Can this be done? I've searched everywhere and all I can find is setting share to public, or something similar. [share_zero] path = /path/to/dir writeable = yes browseable = yes valid users = user1 user2 guest ok = yes create mask = 0666 directory mask = 0777
"JDE" <socomm at gmail.com> wrote in message news:7378bb590909021452g60ffb721o5b21d1bd38fb46d at mail.gmail.com...> Is it possible to have a "password-less" share available to only > certain users? I've been searching all over and could not find > anything. > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >Try the "valid users" option in the smb.conf. If I remember correctly, you can set this to a group. That way only the members of the group should have access to the share. valid users = @accounts
On 3/09/2009 11:04 AM, Jamrock wrote:> Try the "valid users" option in the smb.conf. If I remember correctly, you > can set this to a group. That way only the members of the group should have > access to the share. > > valid users = @accounts >If they connect as a guest, then there is nothing to compare against the valid users setting. *Michael Heydon - IT Administrator * michaelh at jaswin.com.au <mailto:michaelh at jaswin.com.au>
"Michael Heydon" <michaelh at jaswin.com.au> wrote in message news:4A9F440C.4010905 at jaswin.com.au...> On 3/09/2009 11:04 AM, Jamrock wrote: > > Try the "valid users" option in the smb.conf. If I remember correctly,you> > can set this to a group. That way only the members of the group shouldhave> > access to the share. > > > > valid users = @accounts > > > If they connect as a guest, then there is nothing to compare against the > valid users setting.If they connect as guest there is no way to restrict specific users to the share. All users would be logged in as guest. If they are on a network and are authenticated, they can access the share without having to enter an additional password. The valid users command would then restrict specific users to the share. Another way to do this is to use the Linux security logic to restrict access to the share. I prefer this approach.