SliTaz SliTaz Forum

You are not logged in.

#1 2020-10-18 22:21:58

CambsMart
Member
Registered: 2020-10-18
Posts: 7

Issue after upgrading Samba to 3.6.7

Running SliTaz 4.0 on a NAS server; recently added a Windows 10 client so require SMB3, so I've installed Samba 3.6.7 from the SliTaz 5.0 repository.

On trying to start Samba from the init.d Samba script, I get several errors from the script as follows

[c]root@slitaz:~# ../etc/init.d/samba restart
../etc/init.d/samba: line 12: _: not found
../etc/init.d/samba: line 12: _: not found
../etc/init.d/samba: line 71: _: not found
../etc/init.d/samba: line 71: action: not found
                                                                     [ OK ]
../etc/init.d/samba: line 12: _: not found
../etc/init.d/samba: line 71: action: not found
/usr/sbin/smbd: error while loading shared libraries: libgnutls.so.30: cannot open shared object file: No such file or directory
                                                                     [ OK ]
../etc/init.d/samba: line 71: action: not found
                                                                     [ OK ][/c]
The script should be the one from the 3.6.7 package, it's dated May 2016, although I didn't check the date on the previous version (3.5.8)

Any ideas why this doesn't start correctly?

Offline

#2 2020-10-19 13:07:55

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: Issue after upgrading Samba to 3.6.7

Samba-4.1 is the first version that supports SMBv3

You could configure windows 10 to use SMBv1 client.

Offline

#3 2020-10-19 19:23:51

CambsMart
Member
Registered: 2020-10-18
Posts: 7

Re: Issue after upgrading Samba to 3.6.7

I could do that, but given that Samba 3.6.7.supports SMB3 I would rather do it the secure way.

Offline

#4 2020-10-20 15:15:36

CambsMart
Member
Registered: 2020-10-18
Posts: 7

Re: Issue after upgrading Samba to 3.6.7

Sorry, just spotted the 1st line of your reply (for some reason Firefox wasn't correctly displaying the threads yesterday). It appears that my man pages in my system are for the latest package versions, even if I don't have the latest packages installed; I don't know if they were updated when I installed the browser required to open them.

Looks like I can ignore the error I'm getting as 3.6.7 isn't any use to me!

Offline

#5 2020-10-22 21:32:09

CambsMart
Member
Registered: 2020-10-18
Posts: 7

Re: Issue after upgrading Samba to 3.6.7

So I've now installed the Samba 4.6.14 package from the 'next' repository and installed it, and I have exactly the same problem with the init.d/samba script; clearly the issue is with my environment, e.g I'm missing a command interpreter even though this is a shell script. Any ideas why the shell isn't correctly processing these lines:

[c]12   DESC="$(_ '%s server' Samba)"
71   esac[/c]

Offline

#6 2020-10-23 22:35:45

gibor
Moderator
Registered: 2011-04-30
Posts: 1,067

Re: Issue after upgrading Samba to 3.6.7

Do no mix packages of different repos, this broke dependecy on your installation.

The correct alternative is build directly from source code...

error reported was created of less function of tazpanel and busybox...

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]