]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
from Guido, slightly modified:
authorhno <>
Sun, 8 Sep 2002 15:25:59 +0000 (15:25 +0000)
committerhno <>
Sun, 8 Sep 2002 15:25:59 +0000 (15:25 +0000)
updated Winbind external ACL group helper documentation to
reflect the latest changes on multiple groups matching.

helpers/external_acl/winbind_group/readme.txt
helpers/external_acl/winbind_group/wb_check_group.c

index d95a197d8ee420e803df0e4eedcdea5210c66632..f0cda8063182d26cf96d85dda518241aaf8ed004 100755 (executable)
@@ -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
 
 
 ================
index fc8bd83daf08b2bb8ada1f9683e2265e7c7df1a1..0b19533955beb0fbc47c2bf8195c2f708a20a272 100755 (executable)
@@ -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 <squidnt@serassio.it>
  * 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