Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SOLVED] creating anonymous samba share?

Featured Replies

How do I create an anonymous samba share in 5.0? or do I have to make mods around the default samba config?

What do you mean by anonymous?

Normally the Samba share you create should be public, so everyone can connect and write/read to it.

  • Author

ah, i mean how do I create a guest samba share, no login required

If the share is public no login/password is required.  :o

  • Author

If the share is public no login/password is required.  :o

 

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

 

 

Make an account called "guest" with no password.

Wouldn't that still ask you for a username / password?

Yes. The public can log in as guest with no password.

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.

  • Author

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.

 

 

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  ;)

  • Author

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

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.