]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Markus Moeller <huaraz@moeller.plus.com>
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 13 Jul 2009 04:54:08 +0000 (16:54 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 13 Jul 2009 04:54:08 +0000 (16:54 +1200)
Partial Revert revno9803 - realm experiment slipped in

helpers/negotiate_auth/squid_kerb_auth/squid_kerb_auth.c

index 368f01bf880dd9a53117066f966835772f352ffd..414da7709f03896f579fa0b0d2b8ab8de0dc6c9e 100644 (file)
@@ -551,9 +551,6 @@ int main(int argc, char * const argv[])
             }
             memcpy(user,output_token.value,output_token.length);
             user[output_token.length]='\0';
-            if (norealm && (p=strchr(user,'@')) != NULL) {
-                *p='\0';
-            }
             fprintf(stdout, "AF %s %s\n","AA==",user);
             if (debug)
                 fprintf(stderr, "%s| %s: AF %s %s\n", LogTime(), PROGRAM, "AA==", user);