Ghwomb
Dabbler
- Joined
- Jan 10, 2012
- Messages
- 27
First of all, I hate Microsoft for crippling Windows 7 Professional so I can't use NFS. 
I have followed the guide to enable anonymous login from Windows. When I tried to make it work without the guide I could start the service but not access anything. When I followed the guide I can no longer start the CIFS-service.
As per suggestion i did the testparm thing. I just changed smb.conf to smb4.conf. I have also tried to make a symlink, as root, from smb.conf to smb4.conf, but that did not help me start the service.
from testparm /usr/local/etc/smb4.conf | less:
global:
homes:
FreeNAS:
I have followed the guide to enable anonymous login from Windows. When I tried to make it work without the guide I could start the service but not access anything. When I followed the guide I can no longer start the CIFS-service.
As per suggestion i did the testparm thing. I just changed smb.conf to smb4.conf. I have also tried to make a symlink, as root, from smb.conf to smb4.conf, but that did not help me start the service.
from testparm /usr/local/etc/smb4.conf | less:
Code:
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) WARNING: The "null passwords" option is deprecated WARNING: Ignoring invalid value 'share' for parameter 'security' Processing section "[homes]" Processing section "[FreeNAS]" 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
global:
Code:
[global]
workgroup = FAMILJENBERGER
server string = FreeNAS Server
server role = standalone server
map to guest = Bad Password
null passwords = Yes
obey pam restrictions = Yes
smb passwd file = /var/etc/private/smbpasswd
private dir = /var/etc/private
passdb backend = tdbsam:/var/etc/private/passdb.tdb
guest account = guest
syslog only = Yes
max log size = 10
max xmit = 65535
deadtime = 15
load printers = No
printcap name = /dev/null
disable spoolss = Yes
dns proxy = No
pid directory = /var/run/samba
idmap config * : backend = tdb
force user = guest
force group = guest
create mask = 0666
directory mask = 0777
ea support = Yes
directory name cache size = 0
store dos attributes = Yes
strict locking = No homes:
Code:
[homes]
comment = Home Directories
path = /mnt/Spegel/guest
valid users = %U
read only = No FreeNAS:
Code:
[FreeNAS]
comment = FreeNAS
path = /mnt/Spegel
read only = No
inherit acls = Yes
guest only = Yes
guest ok = Yes
hosts allow = 192.168.1.2
veto files = /.snap/.windows/.zfs/
map archive = No
map readonly = no
browseable = No
vfs objects = shadow_copy2, zfsacl, streams_xattr
nfs4:chown = yes
nfs4:acedup = merge
nfs4:mode = special
shadow: format = auto-%Y%m%d.%H%M-1y
shadow: localtime = yes
shadow: sort = desc
shadow: snapdir = .zfs/snapshot
recycle:subdir_mode = 0700
recycle:directory_mode = 0777
recycle:touch = yes
recycle:versions = yes
recycle:keeptree = yes
recycle:repository = .recycle/%U