Installing samba support

New to Debian (Or Linux in general)? Ask your questions here!

Installing samba support

Postby Eraserhead » 2018-02-21 13:58

Hello. I am new to Debian.

I have been using Ubuntu for my PCs for a long time now, but as I now need to install servers, I am switching to Debian.

I just installed the latest stable version of Debian (so that's version 9) XFCE on an old desktop PC that I will use as a server to backup data.

But as a fresh install of Debian does not come with all the software that usually equips Ubuntu and its derivatives (which is not bad for this old PC), it seems it does not come with samba support installed.
When using Thunar and clicking 'browse network', I have an error ("Failed to open /on - the specified location is not supported").

Basically, the usage is quite simple : this server is installed on a local Windows network with a Windows server as the main server for the company. I want to be able to connect to the Windows shared folders to I can exchange large volumes of data.

I saw in Gnome software that there is Smb4K available but since I am using an XFCE environment, I wonder if that would be a wise choice.

Might somebody suggest a simple solution ?
Eraserhead
 
Posts: 10
Joined: 2018-02-21 13:47

Re: Installing samba support

Postby None1975 » 2018-02-21 14:58

Check this.
User avatar
None1975
 
Posts: 696
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: Installing samba support

Postby 4D696B65 » 2018-02-21 17:51

Eraserhead wrote:I just installed the latest stable version of Debian (so that's version 9) XFCE

Last time I checked, thunar needs help with networks shares.
Install gvfs-backends and log out and back in.
User avatar
4D696B65
 
Posts: 2218
Joined: 2009-06-28 06:09

Re: Installing samba support

Postby Eraserhead » 2018-02-22 09:02

Hello.

Thanks !
Installing gvfs-backends helped indeed : now, when I click on 'Browse network', I can see the same networks as I see on another Linux machine (Ubuntu).

Still, when I double-click on 'Windows network', instead of seeing the Windows workgroups, I have an error : "Failed to retrieve shares list from server : no such file or directory". This does not happen on the Ubuntu machine, so I guess I still need to install or set up something.
Eraserhead
 
Posts: 10
Joined: 2018-02-21 13:47

Re: Installing samba support

Postby Eraserhead » 2018-02-22 09:07

None1975 wrote:Check this.
I think I explained myself unclearly : as I am trying to access Windows shares on a Windows server, I believe it is the access with the samba client I need to set up, not a samba server.
Eraserhead
 
Posts: 10
Joined: 2018-02-21 13:47

Re: Installing samba support

Postby Ardouos » 2018-02-22 10:26

Ensure that your system has cifs installed.

You should be able to mount the share with:

Code: Select all
sudo mount.cifs //WindowsPC/INSERT-WINDOWS-SHARE-HERE /mnt/SHARE-DIRECTORY -o user=SHARE-USER
User avatar
Ardouos
 
Posts: 1016
Joined: 2013-11-03 00:30
Location: Elicoor II

Re: Installing samba support

Postby Eraserhead » 2018-02-22 12:18

Hello.

Yes, cifs-utils was already installed, and the command mount.cifs works !

I still cannot browse the network using Thunar, though.
Any idea what's missing ?

Edit : I first had a failure with the command because I had typed it wrong.
Eraserhead
 
Posts: 10
Joined: 2018-02-21 13:47

Re: Installing samba support

Postby Eraserhead » 2018-02-27 16:27

It worked, thanks !
Eraserhead
 
Posts: 10
Joined: 2018-02-21 13:47


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable