Trying http://forums.freenas.org/index.php?threads/cifs-windows-sharing-guide.20948/ Going for the guest + admin type access though at the moment I am just adding a guest only share for music.
I have a guest account set up, I have the share set up with guest access checked, CIFS is on with my guest account selected. I try to log in and get a permission denied error using either guest and a blank password or blank/blank. I have logging set to debug, what I find curious is I can't seem to find where it logs the permission denied error?!
I don't use windows so most of my stuff is managed my mac shares (including the volume this window share is on) but I have Sonos Music system that connects with SMB so thus making a readonly windows share for it to access.
I realize I probably have something misconfigured but I can't quite figure it out so any thoughts would be appreciated.
I attached screenshots of what seems to be the appropriate GUI config and here is the smb.conf
[global]
server max protocol = SMB3
encrypt passwords = yes
dns proxy = no
strict locking = no
oplocks = yes
deadtime = 15
max log size = 51200
max open files = 11070
syslog only = yes
syslog = 1
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
getwd cache = yes
guest account = guest
map to guest = Bad User
obey pam restrictions = Yes
directory name cache size = 0
kernel change notify = no
panic action = /usr/local/libexec/samba/samba-backtrace
server string = FreeNAS Server
store dos attributes = yes
map archive = no
map readonly = no
map hidden = no
map system = no
time server = yes
null passwords = yes
acl allow execute always = true
local master = yes
server role = standalone
netbios name = FREENASSMB
workgroup = WORKGROUP
security = user
pid directory = /var/run/samba
smb passwd file = /var/etc/private/smbpasswd
private dir = /var/etc/private
create mask = 0644
directory mask = 0755
client ntlmv2 auth = yes
dos charset = CP437
unix charset = UTF-8
log level = 10
[MusicLossless]
path = /mnt/PeelerLake/Pool/Music
printable = no
veto files = /.snap/.windows/.zfs/
writeable = no
browseable = yes
inherit owner = no
inherit permissions = no
recycle:repository = .recycle/%U
recycle:keeptree = yes
recycle:versions = yes
recycle:touch = yes
recycle:directory_mode = 0777
recycle:subdir_mode = 0700
shadow:snapdir = .zfs/snapshot
shadow:sort = desc
shadow:localtime = yes
shadow:format = auto-%Y%m%d.%H%M-2m
vfs objects = shadow_copy2 zfsacl streams_xattr aio_pthread
hide dot files = yes
guest ok = yes
guest only = yes
inherit acls = no
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = yes
zfsacl:acesort = dontcare
I have a guest account set up, I have the share set up with guest access checked, CIFS is on with my guest account selected. I try to log in and get a permission denied error using either guest and a blank password or blank/blank. I have logging set to debug, what I find curious is I can't seem to find where it logs the permission denied error?!
I don't use windows so most of my stuff is managed my mac shares (including the volume this window share is on) but I have Sonos Music system that connects with SMB so thus making a readonly windows share for it to access.
I realize I probably have something misconfigured but I can't quite figure it out so any thoughts would be appreciated.
I attached screenshots of what seems to be the appropriate GUI config and here is the smb.conf
[global]
server max protocol = SMB3
encrypt passwords = yes
dns proxy = no
strict locking = no
oplocks = yes
deadtime = 15
max log size = 51200
max open files = 11070
syslog only = yes
syslog = 1
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
getwd cache = yes
guest account = guest
map to guest = Bad User
obey pam restrictions = Yes
directory name cache size = 0
kernel change notify = no
panic action = /usr/local/libexec/samba/samba-backtrace
server string = FreeNAS Server
store dos attributes = yes
map archive = no
map readonly = no
map hidden = no
map system = no
time server = yes
null passwords = yes
acl allow execute always = true
local master = yes
server role = standalone
netbios name = FREENASSMB
workgroup = WORKGROUP
security = user
pid directory = /var/run/samba
smb passwd file = /var/etc/private/smbpasswd
private dir = /var/etc/private
create mask = 0644
directory mask = 0755
client ntlmv2 auth = yes
dos charset = CP437
unix charset = UTF-8
log level = 10
[MusicLossless]
path = /mnt/PeelerLake/Pool/Music
printable = no
veto files = /.snap/.windows/.zfs/
writeable = no
browseable = yes
inherit owner = no
inherit permissions = no
recycle:repository = .recycle/%U
recycle:keeptree = yes
recycle:versions = yes
recycle:touch = yes
recycle:directory_mode = 0777
recycle:subdir_mode = 0700
shadow:snapdir = .zfs/snapshot
shadow:sort = desc
shadow:localtime = yes
shadow:format = auto-%Y%m%d.%H%M-2m
vfs objects = shadow_copy2 zfsacl streams_xattr aio_pthread
hide dot files = yes
guest ok = yes
guest only = yes
inherit acls = no
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = yes
zfsacl:acesort = dontcare