]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Accept (and ignore) the NTLM negotiate packet
authorhno <>
Sun, 11 Jun 2006 18:53:36 +0000 (18:53 +0000)
committerhno <>
Sun, 11 Jun 2006 18:53:36 +0000 (18:53 +0000)
helpers/ntlm_auth/no_check/no_check.pl

index b0a11141227e9a5a329f99053b3f01aefd3618d7..891d0ddb671d4c984dd724e0a053eda3d08092ad 100644 (file)
@@ -15,7 +15,7 @@ die ("Edit $0 to configure a domain!") unless (defined($authdomain));
 
 while(<STDIN>) {
        chop;
-       if ($_ eq "YR") {
+       if (substr($_, 2) eq "YR") {
                print "TT ".encode_base64(&make_ntlm_static_challenge);
                next;
        }