Koozali.org: home of the SME Server

How do I connect to a share from GNU/Linux?

Offline Jamieit

  • 4
  • +0/-0
How do I connect to a share from GNU/Linux?
« on: February 19, 2023, 06:08:51 AM »
I can map a network drive from Windows or connect by going to \\192.168.100.150, however I can't connect from my GNU/Linux system. I thought it would be ease to connect to a share, What can I try. :-?

Thanks, Jamie

PS I feel like such a noob.  :???:

Offline Jean-Philippe Pialasse

  • *
  • 2,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: How do I connect to a share from GNU/Linux?
« Reply #1 on: February 19, 2023, 03:15:40 PM »
what version of SME and what flavor and version of GNU/Linux?

Offline Jamieit

  • 4
  • +0/-0
Re: How do I connect to a share from GNU/Linux?
« Reply #2 on: February 20, 2023, 03:02:26 AM »
I'm running SME 9.2 and LinuxMint 20.1.

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: How do I connect to a share from GNU/Linux?
« Reply #3 on: February 20, 2023, 03:57:59 AM »
I'm running SME 9.2 and LinuxMint 20.1.

Time to upgrade your server.

You are way out of date.

On v10 the smeserver-wsdd contrib may assist browsing.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Jean-Philippe Pialasse

  • *
  • 2,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: How do I connect to a share from GNU/Linux?
« Reply #4 on: February 20, 2023, 01:46:46 PM »
modern linux won’t support the samba protocol offered in SME as it has become insecure, you should indeed upgrade to use protocol SMB 2 or 3

Offline Jamieit

  • 4
  • +0/-0
Re: How do I connect to a share from GNU/Linux?
« Reply #5 on: February 20, 2023, 09:20:43 PM »
I installed SME 10.1, I'll try to connect again. Does SME 10.1 have SMB 2 or 3 installed?
Thanks 8-)

Offline Jean-Philippe Pialasse

  • *
  • 2,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: How do I connect to a share from GNU/Linux?
« Reply #6 on: February 20, 2023, 09:33:20 PM »
it does have samba installed and it does default to SMB3 protocol

Offline Jamieit

  • 4
  • +0/-0
Re: How do I connect to a share from GNU/Linux?
« Reply #7 on: February 21, 2023, 07:43:10 AM »
I can't connect from Windows, On Windows I get

"An error occurred while reconnecting Z: to \\mediaserver\media.

Microsoft Windows Network : No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept.

The connection has not been restored"

There are no other connections to this server, I'm the only one using it. I even get the error after rebooting the server.

I'm moving away from Windows, I'm running Win XP.  On GNU/Linux when I click on the computer ->Network the server isn't listed.

I'm running SME 10.1 now.

Offline Jean-Philippe Pialasse

  • *
  • 2,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: How do I connect to a share from GNU/Linux?
« Reply #8 on: February 21, 2023, 12:53:12 PM »
nothing new there you could not find in other posts on the forum or anywhere on the internet.
windows XP is not supported for years.  It can not handle most recent SMB2 and SMB3 protocol. 

as mentioned ealier by Reetp you will need  the contrib smeserver-wsd to be able to list the server from clients with ease. While listing it is not necessary to connect to it.  there are plenty of ways from linux. One of them is autofs.  You can even check from the wiki for sssd and autofs to be able auth your user against SME and to have all your shares mounted on demand for any user existing on the server from your computer. 

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: How do I connect to a share from GNU/Linux?
« Reply #9 on: February 21, 2023, 03:52:35 PM »
I'm running Win XP.

Please don't do that. XP is seriously out of date - even worse than v9.x

And you cannot connect by default from XP to Koozali SME because XP doesn't have SMB 3.

Quote
On GNU/Linux when I click on the computer ->Network the server isn't listed.

Better referring to the particular flavour of Linux - in your case Mint - as there are many differences.

As far as browsing I think Nemo uses avahi for discovery and doesn't see Koozali SME when browsing.

You can can correct direct with "Connect to server" with the right settings (I just tested on mine)

Server: Server name
Type: Windows share
Share : share/ibay name
User Name: your user
Password: you password

That will connect.

Or if you have many clients then automate as JP suggested (FWIW we use SSSD from via the wiki page)

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation