]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
IDENT is optional
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 1 Oct 2015 12:51:14 +0000 (05:51 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 1 Oct 2015 12:51:14 +0000 (05:51 -0700)
src/external_acl.cc

index e5f466edf23f8f3e58ebe254007a5e1bb1c0a3af..ac52a51c37152866533ee7032baa14f72d82edf4 100644 (file)
@@ -742,6 +742,7 @@ makeExternalAclKey(ACLFilledChecklist * ch, external_acl_data * acl_data)
             ch->al->_private.lastAclData = sb.c_str();
         }
 
+#if USE_IDENT
         if (t->type == Format::LFT_USER_IDENT) {
             if (!*ch->rfc931) {
                 // if we fail to go async, we still return NULL and the caller
@@ -750,6 +751,7 @@ makeExternalAclKey(ACLFilledChecklist * ch, external_acl_data * acl_data)
                 return NULL;
             }
         }
+#endif
     }
 
     // assemble the full helper lookup string