<div><br>
<br>
On Tue, Jul 22, 2025 at 10:31 PM Jonathan Lee <<a href="mailto:jonathanlee571@gmail.com" target="_blank">jonathanlee571@gmail.com</a>> wrote:<br>
><br>
> Hello fellow Squid users.<br>
><br>
> Can you please help? I have located a possible issue with Squid 7.X downloaded from the following URL <a href="https://github.com/squid-cache/squid/releases/tag/SQUID_7_1" rel="noreferrer" target="_blank">https://github.com/squid-cache/squid/releases/tag/SQUID_7_1</a> 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.<br>
<br></div><div>
What file have you downloaded exactly? There's several offered there.<br>
<br>
Are you sure you did "make config"? When I try to reproduce I get:<br>
<br>
» pwd<br>
/Users/kinkie/src/squid/v7<br>
» make config<br>
make: *** No rule to make target `config'.  Stop.<br>
» make rmconfig                                                                                                                                    2 ↵<br>
make: *** No rule to make target `rmconfig'.  Stop.</div><div><br>
<br>
><br>
> BASIC_AUTH+=  DB NCSA PAM POPS RADIUS fake getpwnam<br>
><br>
> 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:<br>
><br>
> configure: checking auth/basic helpers: LDAP SASL SMB DB NCSA PAM POP3 RADIUS SMB_LM fake getpwnam NIS<br>
> configure: error: SMB_LM not found in ./src/auth/basic<br>
<br></div><div>
Could it be that the problem is with the freebsd port?<br>
What version of freebsd are you using?  I have recently tested a build on 13.5, 14.2, and 15.0 at <a href="https://github.com/squid-platform-test/squid/actions/runs/16234098625" rel="noreferrer" target="_blank">https://github.com/squid-platform-test/squid/actions/runs/16234098625</a> and it worked</div><div><br>
<br>
> 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.<br>
<br></div><div>
SMB_LM (aka basic_smb_lm_auth) is no longer provided with squid 7.1, from commit 1ce586101b <br></div><div>
<br>
> 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.</div><div dir="auto"><br></div><div dir="auto">That’s likely the port’s Makefile hardcoding helpers. </div><div dir="auto"><br>
> 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?</div><div dir="auto"><br></div><div dir="auto">It isn’t required. It has been deprecated for a while, in fact</div><div dir="auto"><br>
><br>
> It will complete the "make install clean" only if you manually remove the SMB_LM from BASIC_AUTH in the Makefile.</div><div dir="auto"><br></div><div dir="auto">Is that the port’s makefile? If so it is indeed a port problem, and the port’s makefile needs to be updated</div><div dir="auto"><br>
><br>
> Jonathan Lee<br>
><br>
><br>
> On Jul 20, 2025, at 22:24, Jonathan Lee <<a href="mailto:jonathanlee571@gmail.com" target="_blank">jonathanlee571@gmail.com</a>> wrote:<br>
><br>
> Thank you<br>
> Sent from my iPhone<br>
><br>
> On Jul 20, 2025, at 20:11, Amos Jeffries <<a href="mailto:squid3@treenet.co.nz" target="_blank">squid3@treenet.co.nz</a>> wrote:<br>
><br>
> Okay, no worries.<br>
><br>
> I have opened <a href="https://github.com/squid-cache/squid/pull/2123" rel="noreferrer" target="_blank">https://github.com/squid-cache/squid/pull/2123</a> 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.<br>
><br>
> HTH<br>
> Amos<br>
><br>
><br>
> On 21/07/25 12:59, Jonathan Lee wrote:<br>
> sorry that was a typo I am still working on it. I am doing make configure right now<br>
><br>
> On Jul 20, 2025, at 17:45, Amos Jeffries wrote:<br>
><br>
><br>
><br>
> On 20/07/25 03:37, Jonathan Lee wrote:<br>
><br>
> 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.<br>
><br>
><br>
><br>
> Ouch. Thanks for the feedback, I will add a few checks to our code to work around these for next Squid's.<br>
><br>
><br>
> Did you try any of the alternatives I gave and to what results?<br>
><br>
><br>
> Cheers<br>
> Amos<br>
><br>
><br>
><br>
<br>
<br>
-- <br>
    Francesco<br>
</div>