<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div>Hello fellow Squid users.</div><div><br></div>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">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. <div><br></div><div><div>BASIC_AUTH+=  DB NCSA PAM POPS RADIUS fake getpwnam</div><div><p data-start="175" data-end="339">I’m attempting to build Squid 7.1 from the FreeBSD ports tree (<code data-start="238" data-end="260">/usr/ports/www/squid</code>), but the build consistently fails during the <code data-start="307" data-end="318">configure</code> step with the error:</p><pre class="overflow-visible!" data-start="341" data-end="506"><div class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"><div class="overflow-y-auto p-4" dir="ltr"><code class="whitespace-pre!"><span style="background-color: rgb(83, 213, 253);"><span class="hljs-symbol">configure:</span> checking auth/basic helpers: LDAP SASL SMB DB NCSA PAM POP3 RADIUS SMB_LM fake getpwnam NIS
<span class="hljs-symbol">configure:</span> <span class="hljs-keyword">error</span>: SMB_LM <span class="hljs-built_in">not</span> found <span class="hljs-keyword">in</span> ./src/auth/basic</span>
</code></div></div></pre><p data-start="508" data-end="942">I have installed Samba 4.20 (<code data-start="537" data-end="556">samba420-4.20.7-7</code>) and confirmed that the required libraries (libsmbclient, etc.) are present. I have also tried disabling the SMB_LM helper via <code data-start="684" data-end="697">make config</code> (and even using <code data-start="714" data-end="729">make rmconfig</code> to reset options), but the build process still attempts to compile <code data-start="797" data-end="816">auth/basic/SMB_LM</code>. Even after editing the <code data-start="841" data-end="851">Makefile</code> to remove <code data-start="862" data-end="870">SMB_LM</code> from <code data-start="876" data-end="888">BASIC_AUTH</code>, the port continues to fail at the <code data-start="924" data-end="935">configure</code> stage.</p><p data-start="944" data-end="1205">It seems the Squid 7.x port is hardcoding <code data-start="986" data-end="994">SMB_LM</code> support, ignoring the port options. Could this be a bug in the port's Makefile or <code data-start="1077" data-end="1101">auth/basic/Makefile.in</code>? My environment is FreeBSD 14.3, and I’ve confirmed that all required dependencies are up to date.</p><p data-start="1207" data-end="1376">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?</p><p data-start="1207" data-end="1376">It will complete the "make install clean" only if you manually remove the SMB_LM from BASIC_AUTH in the Makefile. </p><p data-start="1207" data-end="1376">Jonathan Lee</p></div><div><br><blockquote type="cite"><div>On Jul 20, 2025, at 22:24, Jonathan Lee <jonathanlee571@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><div>Thank you <br>Sent from my iPhone<br><br><blockquote type="cite">On Jul 20, 2025, at 20:11, Amos Jeffries <squid3@treenet.co.nz> wrote:<br><br>Okay, no worries.<br><br>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.<br><br>HTH<br>Amos<br><br><br><blockquote type="cite">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><blockquote type="cite"><blockquote type="cite">On Jul 20, 2025, at 17:45, Amos Jeffries wrote:<br></blockquote><br><br>On 20/07/25 03:37, Jonathan Lee wrote:<br><blockquote type="cite">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></blockquote><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></blockquote></blockquote><br></blockquote></div></div></blockquote></div><br></div></body></html>