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.

Samba extra parameters (smb-extra.conf) on share level

Featured Replies

Is it possible to add extra parameters to individual shares themselves? I'd like to add ' guest ok = yes ' to a specific share, but the only way I've found that I can do it is by adding a [global] section to smb-extra.conf via SMB extra settings. I'd rather not add that on a global level, but just to the individual share.

 

 

Is it possible to add extra parameters to individual shares themselves? I'd like to add ' guest ok = yes ' to a specific share, but the only way I've found that I can do it is by adding a [global] section to smb-extra.conf via SMB extra settings. I'd rather not add that on a global level, but just to the individual share.

Why not set the share security to 'Public'?

  • Author

Why not set the share security to 'Public'?

 

When using Active Directory, it appears that Public, Secure, or Private do not have the desired affect. Without the 'guest ok' option, no guests at all are allowed on any share.

  • Author

Is there a way to edit the share.cfg to add additional options? I think I have figured out where I could hack adding options (due to the share configs being dynamically built on array mount) but I'd rather avoid that so I don't have to worry about upgrade complications with future unraid versions.

 

 

With AD there's no such thing as public/secure/private.  All access is handed by AD domain controller.  It's been a while since we've fired up an AD config but we'll try to get to that asap.

  • Author

Great to hear!!

 

So far, I've had good success get AD to work, but it's been a learning process the whole way. To provide 'guest' access, I discovered I need 3 settings:

In smb-extra.conf:
[global]
        guest account = readonlyuser
        map to guest = Bad User
        guest ok = yes

 

The guest account setting MUST map to a real user. I set up a new user in unraid called readonlyuser and I didn't give it permissions anywhere. It's purely there for the account to just exist.  The 'guest ok = yes' can exist on an individual share instead of global.  Using these settings, I can pretty much mimic the Public, Secure, and Private settings and gain all the benefit of AD group level controls as well.

 

 

 

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.