-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Squid 4.14 installed on Windows 10 from MSI is missing cygcrypt-2.dll #98
Comments
Might need to pack it. I will take a look. |
Thanks a lot for the lightning quick reply!! 👍 Anything I can do already to work around this? |
Only build by yourself and manually copy the required dll in place. |
I suppose you mean:
Meaning that cygcrypt-2.dll is part of of Squid itself? Just a crazy idea: Do you perhaps have this dll on your system? Would you mind uploading it somewhere? |
cyg prefix makes me think it is part of cygwin. |
good point :) |
Ok I've just tried a couple things:
When executing basic_ncsa_auth.exe from a command prompt, I get a popup with application error 0xc000007b, which still seems to indicate a problem with dlls (not sure if the problem is still with the same dll or a different one though) |
Just downloaded the latest cygwin64 and when I search for Squid as package it only has v3.3.3-1 or 3.3.3-2 as an option. No v4 at all? Also are all the dll that I require included in this squid package? Or do I need additional packages (like openssh or something)? |
M4stakilla
*1 |
Thanks, in contrary to downloading the dll from the internet, your instructions did work flawlessly! I now have a working password protected Squid installation... |
Just fyi (not sure if this is an actual issue that needs to be solved): |
I installed Cygwin but weird I can't find the cygcrypt-2.dll file. I installed all packages in the Cygwin, and libcrypt2 package is not listed in the installer too. |
Same problem here, found issue by accident as I tried to run "basic_ncsa_auth.exe" manually. It was putting up a dailog/requester and complained about "cygcrypt-2.dll" not being present (such a requester would block any headless execution I guess? why is it not writing to console?).
Squid/the basic authentication is not working yet though.. (playing around with squid for the first time, looking for log file or something right now..). |
Any updates on this issue? I am interested if there are any plans to include the cygcrypt-2.dll in the msi. |
I have the same issue now. |
I am facing the same issue as well on Windows. Even after manually downloading dll, I still get the following: |
Hello, after some researching, these are my findings: 1. Using defaultthis default auth config needs cygcrypt-2.dll, when i find a replacement from web and tried with it,
2. Copying and using an older version squid's ncsa auth exe directlyWARNING: no_suid: setuid(): (22) Invalid argument cannot stat /cygdrive/c/Squid/etc/passwd
3. i wrote a bat file that checks simple textsWARNING: no_suid: setuid(0): (22) Invalid argument
is there a bug on squid at the authentication checking execution file calls? Is something missing or misconfigured when compiling squid for windows? From what i read about, message no_suid: setuid(0) is about a problem for calling an executable with 'elevated privileges' ( setuid - like needing a sudo user's id on linux) ??? Any help would be much appreciated! Links to read: |
for anyone still needing this heres a screenshot of the top of my comment |
Hi,
I'm trying to setup Squid to use basic authentication, so I've created / copied a passwd file (using htpasswd on an Ubuntu VM with the default md5 encryption) to my Squid installation and configured it as below:
But whenever I try to authenticate to the proxy, my log file gets flooded with below error messages:
I've searched my system and could not find cygcrypt-2.dll anywhere (lib/squid is full with similar dlls, but not this one).
I've also tried executing basic_ncsa_auth.exe with an admin command prompt and it also fails with a popup complaining that the dll is missing.
What can I do to solve this? Can I for example use a different encryption when using htpassswd to circumvent this issue?
Thanks!
The text was updated successfully, but these errors were encountered: