[Samba] Missing deprecations from CHANGELOG 4.14

Matthias Kühne | Ellerhold AG matthias.kuehne at ellerhold.de
Tue Aug 3 13:16:25 UTC 2021

Hello Rowland,

Im still tracking down this bug and I've set up a brand new VM.

Using the standard debian samba package (4.9.5) my script can 
successfully send files to a Mac OS SMB-Server without any smb.conf at all.

After the upgrade to Louis' 4.13 (2:4.13.10+dfsg-0.1buster1) this script 
fails. Ive changed my smb.conf to

     ntlm auth = ntlmv1-permitted
     client min protocol = NT1

and tried it again: It works again (as expected)!

Upgrading to 4.14 (2:4.14.6+dfsg-0.1buster1) and my script fails again! 
Using `smbclient` instead of `libsmbclient` via the php-module works 

So something must've changed between 4.13.10 and 4.14.6 in libsmbclient ...

Additionally I tried to use PHPs 'smbclient_client_protocols()' to allow 
SMB1 connections. Turns out this function is not available. Looking at 
(line 75+) it seems like the libsmbclient is missing the 
'smbc_setOptionProtocols', so the PHP Module doesnt publish the 
'smbclient_client_protocols()' function.

Im using Ondrej Sury PHP Repository for debian and opened a bug there: 

Turns out neither the standard debian 4.9, nor Louis 4.13 nor Louis 4.14 
version of libsmbclient has this function compiled in. Im 90% sure, that 
this is a separate thing because 4.9 and 4.13 worked while lacking this 

Am 26.07.21 um 16:13 schrieb Rowland Penny via samba:
> On Mon, 2021-07-26 at 15:42 +0200, Matthias Kühne | Ellerhold AG via
> samba wrote:
>> Okay, so the docs for 4.14.0 are correct then? There are no new
>> deprecations for 4.14 that werent in 4.13 regarding SMB1? Im having
>> "client min protocol = NT1" and "ntlm auth = ntlmv1-permitted" in
>> both
>> versions and 4.13 works while 4.14 wont...
>> So it must be a really weird bug in the PHP module (entirely
>> possible!).
>> Then disregard my ramblings :)
> No, if the only change is the Samba version and you are having
> problems, then it could be Samba, but there do not seem to have been
> changes that would cause your problem. Not that I really know your
> problem, you have given us little to go on.
> It might help if you can tell us just what no longer works and post
> your smb.conf and any relevant log files.
> Rowland
Matthias Kühne
Senior Webentwickler

Ellerhold Aktiengesellschaft
Friedrich-List-Str. 4
01445 Radebeul

Telefon: +49 (0) 351 83933-61
Telefax: +49 (0) 351 83933-99

Web     www.ellerhold.de
Twitter www.twitter.com/Ellerhold_AG
Youtube www.youtube.com/user/ellerholdgruppe

Amtsgericht Dresden / HRB 23769
Vorstand: Stephan Ellerhold, Maximilian Ellerhold
Vorsitzender des Aufsichtsrates: Frank Ellerhold

---Diese E-Mail und Ihre Anlagen enthalten vertrauliche Mitteilungen. Sollten Sie nicht der beabsichtigte Adressat sein, so bitten wir Sie um Mitteilung und um sofortiges löschen dieser E-Mail und der Anlagen.

Unsere Hinweise zum Datenschutz finden Sie hier: http://www.ellerhold.de/datenschutz/

This e-mail and its attachments are privileged and confidential. If you are not the intended recipient, please notify us and immediately delete this e-mail and its attachments.

You can find our privacy policy here: http://www.ellerhold.de/datenschutz/

More information about the samba mailing list