From: hno <> Date: Wed, 3 Jul 2002 12:56:15 +0000 (+0000) Subject: Documented the external_acl result keywords for returning username or X-Git-Tag: SQUID_3_0_PRE1~926 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=87e6f1801c3be82a6b5c5f9fdc78185d6709795c;p=thirdparty%2Fsquid.git Documented the external_acl result keywords for returning username or error description --- diff --git a/src/cf.data.pre b/src/cf.data.pre index 50316825b0..6895dbe543 100644 --- a/src/cf.data.pre +++ b/src/cf.data.pre @@ -1,6 +1,6 @@ # -# $Id: cf.data.pre,v 1.268 2002/06/26 21:11:39 hno Exp $ +# $Id: cf.data.pre,v 1.269 2002/07/03 06:56:15 hno Exp $ # # # SQUID Web Proxy Cache http://www.squid-cache.org/ @@ -1500,9 +1500,6 @@ DOC_START to service external acl lookups of this type. cache=n result cache size, 0 is unbounded (default) - The helper receives lines per the FORMAT specification, and returns - OK or ERR indicating the validity of the request. - FORMAT specifications %LOGIN Authenticated user login name @@ -1523,6 +1520,22 @@ DOC_START included in the helper request line, after the specified formats (see the acl directive) + The helper receives lines per the above FORMAT specification, and + returns OK or ERR indicating the validity of the request, and + optionally additional keywords with additional details. + + General result syntax: + + OK/ERR keyword=value ... + + Keywords: + + user= The users name (login) + error= Error description (only defined for ERR results) + + Keyword values need to be enclosed in quotes if they may contain + whitespace, or the whitespace escaped using \. Any quotes or \ + characters in the result must be \ escaped. DOC_END COMMENT_START