From: hno <> Date: Sun, 8 Sep 2002 15:25:59 +0000 (+0000) Subject: from Guido, slightly modified: X-Git-Tag: SQUID_3_0_PRE1~767 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f450d541647a078eddc9aaa1bdbacce695e1a2e8;p=thirdparty%2Fsquid.git from Guido, slightly modified: updated Winbind external ACL group helper documentation to reflect the latest changes on multiple groups matching. --- diff --git a/helpers/external_acl/winbind_group/readme.txt b/helpers/external_acl/winbind_group/readme.txt index d95a197d8e..f0cda80631 100755 --- a/helpers/external_acl/winbind_group/readme.txt +++ b/helpers/external_acl/winbind_group/readme.txt @@ -5,9 +5,9 @@ Samba Winbindd from Samba 2.2.4 or greater. This helper must be used in with an authentication scheme, tipically basic or NTLM, based on Windows NT/2000 domain users. -It reads two new line terminated arguments from the standard input -(the domain username and group) and tries to match it against -the domain global groups membership of the specified username. +It reads from the standard input the domain username and a list of groups +and tries to match it against the groups membership of the specified +username. For Winbindd configuration, look the Squid winbind authenticators instructions. @@ -17,9 +17,10 @@ instructions. Program Syntax ============== -wb_group [-d] +wb_group [-d][-h] -d enable debug mode +-h this message ================ diff --git a/helpers/external_acl/winbind_group/wb_check_group.c b/helpers/external_acl/winbind_group/wb_check_group.c index fc8bd83daf..0b19533955 100755 --- a/helpers/external_acl/winbind_group/wb_check_group.c +++ b/helpers/external_acl/winbind_group/wb_check_group.c @@ -1,16 +1,19 @@ /* - * $Id: wb_check_group.c,v 1.4 2002/09/07 10:09:50 hno Exp $ + * $Id: wb_check_group.c,v 1.5 2002/09/08 09:25:59 hno Exp $ * * This is a helper for the external ACL interface for Squid Cache * Copyright (C) 2002 Guido Serassio * Based on previous work of Rodrigo Albani de Campos * - * It reads STDIN looking for a username that matches a NT/2000 global - * Domain group. Requires Samba 2.2.4 or later with Winbindd. - * Returns `OK' if the user belongs to the group or `ERR' otherwise, as - * described on http://devel.squid-cache.org/external_acl/config.html - * To compile this program, use: + * It reads from the standard input the domain username and a list of + * groups and tries to match it against the groups membership of the + * specified username. * + * Returns `OK' if the user belongs to a group or `ERR' otherwise, as + * described on http://devel.squid-cache.org/ external_acl/config.html + * + * Requires Samba 2.2.4 or later with Winbindd. + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or