DS2032-I v5.2.5 fw SMB/CIFS problem

gcsuri

n3wb
Joined
Dec 16, 2015
Messages
5
Reaction score
0
Hi All,

I'm on V5.2.5 build 141201. I have strange CIFS/SMB problem.

I filled out the webinterface NAS data and press TEST and I got: "Failed to connect to test server"

I login with telnet and type:
mount -t cifs -o rw,username=torrent,password=xxyyxxyy //xx.xx.xx.xx/torr /mnt/nfs00 and it mounted cleanly.

Is this a bug? Does anybody have this problem?

regards, Gabor
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,975
Reaction score
6,800
Location
Scotland
I filled out the webinterface NAS data and press TEST and I got: "Failed to connect to test server"
What setting did you use for the NAS target?
It needs to be /sharename
 

gcsuri

n3wb
Joined
Dec 16, 2015
Messages
5
Reaction score
0
Yes, started with /
I realised that shell mount can connect to the server port 445 but webinterface try to connect port 139... Why?

Regards, gcsuri
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,975
Reaction score
6,800
Location
Scotland
TCP port 139 is part of the SMB/CIFS protocol.
Do you have any firewall or router in between the NAs and the camera?
Yes, started with /
Did you use the /sharename only, or did you also include a folder in the network path?
 

gcsuri

n3wb
Joined
Dec 16, 2015
Messages
5
Reaction score
0
TCP port 139 is part of the SMB/CIFS protocol.
Do you have any firewall or router in between the NAs and the camera?
Yes, port 139 forbidden in the iptables rules, only 445 accepted

Did you use the /sharename only, or did you also include a folder in the network path?
server address: "xx.xx.xx.xx"
file path: "/torr/" - this is the sharename

regards, Gabor
 

gcsuri

n3wb
Joined
Dec 16, 2015
Messages
5
Reaction score
0
Hi,

problem solved!
I have to open port 139. It's strange, because the camera connects to port 445 finally but it needs some communication on port 139 at first...

regards, Gabor
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,975
Reaction score
6,800
Location
Scotland
I have to open port 139.
I'm curious - open the port on what?
Do you have a firewall in between the camera and the NAS?
Or is the NAS doing some port filtering?
139 and 445 for SMB/CIFS are used variably depending on the SMB version and settings and what the client and server negotiate for the level of the protocol.
 

gcsuri

n3wb
Joined
Dec 16, 2015
Messages
5
Reaction score
0
Hi,

yes I have firewall between the camera and the NAS. Only the port 445 is opened on the NAS. In the camera shell I could mount the the NAS easily but on the webinterface-mount didn't worked.
I can't change the NAS setting because of it's not self-maintained, so I have made a port forward to the NAS that all port 139 packet forwaded to the port 445 to the NAS. So it's works now.

regards, Gabor
 
Top