Public SMB Share?

billsecond

Cadet
Joined
Mar 28, 2020
Messages
9
How do I create a public SMB Share that does not require any username/password at all?
I am new to FreeNAS and kind of liking it! But I want to has out these details!
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421

billsecond

Cadet
Joined
Mar 28, 2020
Messages
9
Hello, that didn't work, please see my video to make sure that I did everything correctly.
 

billsecond

Cadet
Joined
Mar 28, 2020
Messages
9
PublicShare.gif

The video didn't seem to work, so I am adding this animated gif of that video.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
No clue what that insecure group policy is that you are screwing with but I don't think you should be.

Also your dateset needs to have the correct ownership for the guest user account
 

billsecond

Cadet
Joined
Mar 28, 2020
Messages
9
The group policy was showing that I am enabling guest policy. Regarding ownership what do I need to do? Please be easy with me as I am new to FreeNAS.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Only Allow Guest Access

Set this value under advanced settings. This will make it so it's guest access only. The way you have it setup is like a fall back. Try to log in then if that falls use the guest access
 

billsecond

Cadet
Joined
Mar 28, 2020
Messages
9
Even if I do "Only allow guest access" or both, the username / password prompt still comes up.
1585614703088.png
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Even if I do "Only allow guest access" or both, the username / password prompt still comes up.
View attachment 37010
Output of 'testparm -e' from the freenas sever? If you have that option selected and it still asks for a password there is a bug
 

billsecond

Cadet
Joined
Mar 28, 2020
Messages
9
Last login: Sat Mar 28 18:20:06 on pts/0
FreeBSD 11.3-RELEASE-p6 (FreeNAS.amd64) #0 r325575+d5b100edfcb(HEAD): Fri Feb 21 18:53:26 UTC 2020

FreeNAS (c) 2009-2020, The FreeNAS Development Team
All rights reserved.
FreeNAS is released under the modified BSD license.

For more information, documentation, help or support, go here:
http://freenas.org
Welcome to FreeNAS

Warning: settings changed through the CLI are not written to
the configuration database and will be reset on reboot.

root@FREENAS1[~]# testparm -e
Load smb config files from /usr/local/etc/smb4.conf
Loaded services file OK.
Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions

# Global parameters
[global]
aio max threads = 2
bind interfaces only = Yes
disable spoolss = Yes
dns proxy = No
enable web service discovery = Yes
kernel change notify = No
load printers = No
logging = file
max log size = 51200
nsupdate command = /usr/local/bin/samba-nsupdate -g
restrict anonymous = 2
server min protocol = SMB2_02
server role = standalone server
server string = FreeNAS Server
unix extensions = No
idmap config *: range = 90000001-100000000
idmap config * : backend = tdb
allocation roundup size = 0
directory name cache size = 0
dos filemode = Yes
include = /usr/local/etc/smb4_share.conf


[Pool1]
aio write size = 0
ea support = No
guest ok = Yes
guest only = Yes
mangled names = illegal
path = /mnt/Pool1/Public
read only = No
guest ok = Yes
guest only = Yes
mangled names = illegal
 

ITHAQVA

Dabbler
Joined
Jun 2, 2020
Messages
15
Followed this and the advice given by some very helpful members on here and got my Windows 10 connected to a non AD integrated Freenas VM without any issues.
 
Top