Mr Panda Pants
Cadet
- Joined
- Sep 21, 2014
- Messages
- 3
Hi,
This is yet another thread seeking the wisdom of the community on creating CIF/windows shares.
Fresh install of FreeNas 9.2.1.7 on a server machine. I tried to setup CIF/windows shared volume by
- making a guest user
- creating a cif share
- starting the CIF service
I can't access the share on any machine on my network. I read the DOCs here and in Section 8.3.1 its says to use testparm /usr/local/etc/smb4.conf to troubleshoot
then enter produces
Any ideas what to do next would be great. Thank you for the time to read my problem and any suggestions you can make to assist me.
This is yet another thread seeking the wisdom of the community on creating CIF/windows shares.
Fresh install of FreeNas 9.2.1.7 on a server machine. I tried to setup CIF/windows shared volume by
- making a guest user
- creating a cif share
- starting the CIF service
I can't access the share on any machine on my network. I read the DOCs here and in Section 8.3.1 its says to use testparm /usr/local/etc/smb4.conf to troubleshoot
Code:
[root@freenas ~]# testparm |more Load smb config files from /usr/local/etc/smb4.conf max_open_files: increasing sysctl_max (11095) to minimum Windows limit (16384) rlimit_max: increasing rlimit_max (11095) to minimum Windows limit (16384) Processing section "[Granite]" Loaded services file OK. WARNING: lock directory /var/db/samba4 should have permissions 0755 for browsing to work WARNING: state directory /var/db/samba4 should have permissions 0755 for browsing to work WARNING: cache directory /var/db/samba4 should have permissions 0755 for browsing to work Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions
then enter produces
Code:
[global]
dos charset = CP437
server string = FreeNAS Server
server role = standalone server
map to guest = Bad User
obey pam restrictions = Yes
smb passwd file = /var/etc/private/smbpasswd
private dir = /var/etc/private
guest account = guest
max log size = 51200
server max protocol = SMB2
time server = Yes
deadtime = 15
max open files = 11070
hostname lookups = Yes
load printers = No
printcap name = /dev/null
disable spoolss = Yes
dns proxy = No
pid directory = /var/run/samba
panic action = /usr/local/libexec/samba/samba-backtrace
idmap config *:range = 90000000-100000000
idmap config * : backend = tdb
acl allow execute always = Yes
create mask = 0666
directory mask = 0777
ea support = Yes
directory name cache size = 0
kernel change notify = No
store dos attributes = Yes
strict locking = No
[Granite]
path = /mnt/granite
read only = No
guest only = Yes
guest ok = Yes
hide dot files = No
veto files = /.snap/.windows/.zfs/
vfs objects = zfsacl, streams_xattr, aio_pthread
zfsacl:acesort = dontcare
nfs4:chown = yes
nfs4:acedup = merge
nfs4:mode = special
recycle:subdir_mode = 0700
recycle:directory_mode = 0777
recycle:touch = yes
recycle:versions = yes
recycle:keeptree = yes
[global]
dos charset = CP437
server string = FreeNAS Server
server role = standalone server
map to guest = Bad User
obey pam restrictions = Yes
smb passwd file = /var/etc/private/smbpasswd
private dir = /var/etc/private
guest account = guest
max log size = 51200
server max protocol = SMB2
time server = Yes
deadtime = 15
max open files = 11070
hostname lookups = Yes
load printers = No
printcap name = /dev/null
disable spoolss = Yes
dns proxy = No
pid directory = /var/run/samba
panic action = /usr/local/libexec/samba/samba-backtrace
idmap config *:range = 90000000-100000000
idmap config * : backend = tdb
acl allow execute always = Yes
create mask = 0666
directory mask = 0777
ea support = Yes
directory name cache size = 0
kernel change notify = No
store dos attributes = Yes
strict locking = No
[Granite]
path = /mnt/granite
read only = No
guest only = Yes
guest ok = Yes
hide dot files = No
veto files = /.snap/.windows/.zfs/
vfs objects = zfsacl, streams_xattr, aio_pthread
zfsacl:acesort = dontcare
nfs4:chown = yes
nfs4:acedup = merge
nfs4:mode = special
recycle:subdir_mode = 0700
recycle:directory_mode = 0777
recycle:touch = yes
recycle:versions = yes
recycle:keeptree = yes
Any ideas what to do next would be great. Thank you for the time to read my problem and any suggestions you can make to assist me.