flush Posted June 13, 2012 Share Posted June 13, 2012 How do I create an anonymous samba share in 5.0? or do I have to make mods around the default samba config? Quote Link to comment
darkside40 Posted June 13, 2012 Share Posted June 13, 2012 What do you mean by anonymous? Normally the Samba share you create should be public, so everyone can connect and write/read to it. Quote Link to comment
flush Posted June 15, 2012 Author Share Posted June 15, 2012 ah, i mean how do I create a guest samba share, no login required Quote Link to comment
mrow Posted June 15, 2012 Share Posted June 15, 2012 If the share is public no login/password is required. Quote Link to comment
flush Posted June 16, 2012 Author Share Posted June 16, 2012 If the share is public no login/password is required. what about allowing "no login" for an existing samba share with read-only privileges? i.e. security = private user1= read/write user2= read/write guest=read only Quote Link to comment
dgaschk Posted June 16, 2012 Share Posted June 16, 2012 Make an account called "guest" with no password. Quote Link to comment
klunde Posted June 16, 2012 Share Posted June 16, 2012 Wouldn't that still ask you for a username / password? Quote Link to comment
dgaschk Posted June 16, 2012 Share Posted June 16, 2012 Yes. The public can log in as guest with no password. Quote Link to comment
klunde Posted June 17, 2012 Share Posted June 17, 2012 I could be guessing, but I think what flush is after is a possibilty to login without username/password and get read only access and another way of login with username and password giving write access. Quote Link to comment
flush Posted June 17, 2012 Author Share Posted June 17, 2012 I could be guessing, but I think what flush is after is a possibilty to login without username/password and get read only access and another way of login with username and password giving write access. thanks, that's what I was getting at. After looking at /etc/samba/smb.conf, I ended up creating /boot/config/smb-extra.conf with the following: guest account = nobody [media-public] path = /mnt/user/media guest ok = yes read only = yes /mnt/user/media already exists as another samba share with the user-specific privileges This gave me the regular "media" share with user-specific privileges and "media-public" that is open to anyone within the network, read-only. Quote Link to comment
limetech Posted June 20, 2012 Share Posted June 20, 2012 I could be guessing, but I think what flush is after is a possibilty to login without username/password and get read only access and another way of login with username and password giving write access. thanks, that's what I was getting at. After looking at /etc/samba/smb.conf, I ended up creating /boot/config/smb-extra.conf with the following: guest account = nobody [media-public] path = /mnt/user/media guest ok = yes read only = yes /mnt/user/media already exists as another samba share with the user-specific privileges This gave me the regular "media" share with user-specific privileges and "media-public" that is open to anyone within the network, read-only. A couple observations: a) I think "secure" is the mode you want. b) These kinds of changes to the samba configuration file may have consequences that would greatly complicate integration with new features, plugins, etc, and probably cause developers to not want to give you any support Quote Link to comment
flush Posted June 22, 2012 Author Share Posted June 22, 2012 A couple observations: a) I think "secure" is the mode you want. b) These kinds of changes to the samba configuration file may have consequences that would greatly complicate integration with new features, plugins, etc, and probably cause developers to not want to give you any support ah ok, i see what you mean, for the particular share i'd like to open up, that works just as well, thanks Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.