CIFS stopped working

Status
Not open for further replies.

beeph

Dabbler
Joined
Jul 1, 2013
Messages
47
On reboot I couldnt connect to my old shares.. I used to have this problem but it would clear up after a few restarts on windows. Anyway this time i decided to try the CIFS guide and made a dataset.. now none of my shares work. It immediately pops up 'Can't connect to network location' on windows 7. Wont even ask for password.

Network Discovery is on
Workgroup is WORKGROUP on both freenas and windows 7 box
Using same account/password on windows 7 as Freenas
Cleared out all Credentials on Windows 7
Made settings identical to the CIFS guide and manual
Made settings identical for network as the manual suggests.
I can access web interface, ping, and ssh into freenas, i just cant access the shares.

Spent a good 4 hours on this..
 

beeph

Dabbler
Joined
Jul 1, 2013
Messages
47
It's 9.10, I got the /mnt/tank shares to work in guest/nobody mode. The dataset share doesnt work at all. It's tough to diagnose beacuse I'm not sure if it's a windows 7 problem or freenas problem.

I need diagnostic logs on the session.. CIFS only uses the workgroup right? Not the domain? The Windows 7 client is configured with a workgroup only - there is no domain controller so no domain.
 

avalon60

Guru
Joined
Jan 15, 2014
Messages
597
I have the same problem more or less, if I update to 9.10 or install 9.10, no cifs shares visible in windows network, but if I stick with 9.3 , there is no problems, everything is visible in windows networks.
That should tell the developers something, I would think.

If anyone has a way of getting cif shares to work in windows network, using 9.10, please let us know.
 
D

dlavigne

Guest
No surprise there as 9.3 is based on FreeBSD 9.x and 9.10 is based on FreeBSD 10. In addition, the Samba version changed from 4.1.x to 4.3.x. Lots of users have CIFS shares working on 9.10. To troubleshoot your particular configuration, please create a separate thread that details your exact version of 9.10, your smb4.conf, and any errors in /var/log/messages.
 

avalon60

Guru
Joined
Jan 15, 2014
Messages
597
When I try to install FreeNAS 9.10, during the bootup I see this message: Can't load / path / smb4.conf run testparm to debug it. I am only guessing, that because smb4.conf can't run, then that would affect samba, would it not. Therefore no cifs shares visible.
I don't know this, and it's only a guess.
 

avalon60

Guru
Joined
Jan 15, 2014
Messages
597
There are hundreds of lines in the messages file, so how do you want me to post the file.

This the smb4.conf file if any use:
[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 = 470225
logging = file
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
getwd cache = yes
guest account = nobody
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
nsupdate command = /usr/local/bin/samba-nsupdate -g
server string = FreeNAS Server
ea support = yes
store dos attributes = yes
lm announce = yes
hostname lookups = yes
time server = yes
acl allow execute always = true
dos filemode = yes
multicast dns register = yes
domain logons = no
local master = yes
idmap config *: backend = tdb
idmap config *: range = 90000001-100000000
server role = standalone
netbios name = FREENAS
workgroup = WORKGROUP
security = user
pid directory = /var/run/samba
create mask = 0666
directory mask = 0777
client ntlmv2 auth = yes
dos charset = CP437
unix charset = UTF-8
log level = 1
--More--(END)
 
Last edited:
Status
Not open for further replies.
Top