Can't Access Server 2012 R2 within linux?

IceDigger

[H]F Junkie
Joined
Feb 22, 2001
Messages
11,188
For the past couple years I have not been able to access my windows server 2012 r2 shares from the network in any of my linux machines no matter what distro. I always use XFCE if that matters though.

I can get to my Asustor nas no problem though.

Any ideas?

When I type in smb://servername it comes back with

"Failed to open file system
failed to retrieve share list from server: invalid argument"

I'm not good with the command line.
 

Fifth Horseman

Limp Gawd
Joined
May 5, 2000
Messages
455
Check the server to see if SMB 1.0/CIFS is enabled. It's probably not turned on and most likely that's causing your issue.
 

Mazzspeed

2[H]4U
Joined
Dec 27, 2017
Messages
2,872
If you have a DM installed you don't have to use terminal. Your GUI based file manager should have the option in the LHS pane down the bottom to browse network. If you use this feature do you see any devices on the network and can you access shares? Chances are this is going to be an issue with the server, being the Windows PC.

Check the server to see if SMB 1.0/CIFS is enabled. It's probably not turned on and most likely that's causing your issue.

When this is the case it's usually the Windows PC that cannot access shares by name, but it should still access shares by IP.
 

CrimsonKnight13

Lord Stabington of [H]ard|Fortress
Joined
Jan 8, 2008
Messages
7,476
If Samba is installed, you can define a ton of security & version options for SMB. There really shouldn't be a need to utilize SMBv1/CIFS but I think that all depends on the version of Samba client being used (& whatever compiled features are built-in).
 

B00nie

[H]F Junkie
Joined
Nov 1, 2012
Messages
8,905
Sometimes it can also be in reverse, the open source versions utiising much later and more secure protocols the Windows server doesn't support (because it's old and doesn't get free upgrades). Sometimes you need to force old insecure protocols in place just to talk with the Windows.
 

Deadjasper

[H]ard|Gawd
Joined
Oct 28, 2001
Messages
1,907
Windows to Linux and vice versa is a nightmare. Sometimes it works and sometimes it does not. In my humble experience, a mapped share always works. This leads me to believe the problem lies with the network browser. Why god why is it that a share can be out there and available but the stupid box, Linux or Windows, refuses to see it. Makes no sense to me why this is so. Seems like it would be an easy problem to fix.
 

NoOther

Supreme [H]ardness
Joined
May 14, 2008
Messages
6,468
You need to make sure the protocols you are using match up. You need to verify you are using SMB on the Windows Server, what version, and configuration settings. Then you need to make sure you are using the same version on Linux to connect to it. You also need to make sure you have the proper network access between the two systems. You might correctly setup SMB, but not have the proper FW access for your Linux system to access the Win server. Or you may not have allowed the right access on your network for the two IPs to communicate.
 

Deadjasper

[H]ard|Gawd
Joined
Oct 28, 2001
Messages
1,907
I have a mapped connection to my media server on my Linux box and on a Windows box in the family room. Neither has ever failed to work. This would seem to rule out a problem with protocols but what do I know.
 
Top