Hello fellow Squid users.

Can you please help? I have located a possible issue with Squid 7.X downloaded 
from the following URL 
https://github.com/squid-cache/squid/releases/tag/SQUID_7_1 I found is the 
SMB_LM even when you disable smb with make config it still is listed in the 
Makefile even with "make rmconfig" it still lists it the make config does not 
remove the SMB_LM from the Makefile when you run it. 

BASIC_AUTH+=  DB NCSA PAM POPS RADIUS fake getpwnam
I’m attempting to build Squid 7.1 from the FreeBSD ports tree 
(/usr/ports/www/squid), but the build consistently fails during the configure 
step with the error:

configure: checking auth/basic helpers: LDAP SASL SMB DB NCSA PAM POP3 RADIUS 
SMB_LM fake getpwnam NIS
configure: error: SMB_LM not found in ./src/auth/basic
I have installed Samba 4.20 (samba420-4.20.7-7) and confirmed that the required 
libraries (libsmbclient, etc.) are present. I have also tried disabling the 
SMB_LM helper via make config (and even using make rmconfig to reset options), 
but the build process still attempts to compile auth/basic/SMB_LM. Even after 
editing the Makefile to remove SMB_LM from BASIC_AUTH, the port continues to 
fail at the configure stage.

It seems the Squid 7.x port is hardcoding SMB_LM support, ignoring the port 
options. Could this be a bug in the port's Makefile or auth/basic/Makefile.in? 
My environment is FreeBSD 14.3, and I’ve confirmed that all required 
dependencies are up to date.

Can you confirm whether the SMB_LM helper is required in Squid 7.1, or if there 
is a recommended way to disable it for builds that don’t require NTLM/SMB 
authentication?

It will complete the "make install clean" only if you manually remove the 
SMB_LM from BASIC_AUTH in the Makefile. 

Jonathan Lee


> On Jul 20, 2025, at 22:24, Jonathan Lee <jonathanlee...@gmail.com> wrote:
> 
> Thank you 
> Sent from my iPhone
> 
>> On Jul 20, 2025, at 20:11, Amos Jeffries <squ...@treenet.co.nz> wrote:
>> 
>> Okay, no worries.
>> 
>> I have opened https://github.com/squid-cache/squid/pull/2123 to workaround 
>> the issues at our end based upon your feedback so far. The diff/patch should 
>> work for v7 as well, but requires a full ./bootstrap.sh on the sources.
>> 
>> HTH
>> Amos
>> 
>> 
>>> On 21/07/25 12:59, Jonathan Lee wrote:
>>> sorry that was a typo I am still working on it. I am doing make configure 
>>> right now
>>>>> On Jul 20, 2025, at 17:45, Amos Jeffries wrote:
>>>> 
>>>> 
>>>> On 20/07/25 03:37, Jonathan Lee wrote:
>>>>> I think we found the problem — the existing ports made |heimdal-krb5.pc|  
>>>>>  file has *typos and incorrect paths*, which is why |pkg-config| might 
>>>>> have issues not working.
>>>> 
>>>> 
>>>> Ouch. Thanks for the feedback, I will add a few checks to our code to work 
>>>> around these for next Squid's.
>>>> 
>>>> 
>>>> Did you try any of the alternatives I gave and to what results?
>>>> 
>>>> 
>>>> Cheers
>>>> Amos
>>>> 
>> 

_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
https://lists.squid-cache.org/listinfo/squid-users

Reply via email to