October 6, 20169 yr 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.
October 6, 20169 yr 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'?
October 6, 20169 yr 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.
October 8, 20169 yr 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.
October 8, 20169 yr 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.
October 10, 20169 yr 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.