Winbindd compatibility problems with Samba 2.2.6

From: Guido Serassio <serassio@dont-contact.us>
Date: Sun, 10 Nov 2002 21:37:25 +0100

Hi,

I have received some problem reports from users on the winbind_group
external ACL Helper using Samba 2.2.6.
After some test, I have found that the winbindd_nss.h file must be updated
with that coming on Samba 2.2.6 like for Samba 3.0, so, anyone can add this
info to Squid FAQs ?

The following is a little change on debug info printing:

Index: helpers/external_acl/winbind_group/wb_check_group.c
===================================================================
RCS file:
/cvsroot/squid/squid/helpers/external_acl/winbind_group/wb_check_group.c,v
retrieving revision 1.2.2.6
diff -u -p -r1.2.2.6 wb_check_group.c
--- helpers/external_acl/winbind_group/wb_check_group.c 22 Oct 2002
17:52:12 -0000 1.2.2.6
+++ helpers/external_acl/winbind_group/wb_check_group.c 10 Nov 2002
20:27:06 -0000
@@ -283,7 +283,7 @@ main (int argc, char *argv[])
         if ((p = strchr(buf, '\r')) != NULL)
             *p = '\0'; /* strip \r */

- debug("Got '%s' from Squid (length: %d).\n",buf,sizeof(buf));
+ debug("Got '%s' from Squid (length: %d).\n",buf,strlen(buf));

         if (buf[0] == '\0') {
             warn("Invalid Request\n");

Regards

Guido

-
=======================================================
Serassio Guido
Via Albenga, 11/4 10134 - Torino - ITALY
E-mail: guido.serassio@serassio.it
WWW: http://www.serassio.it
Received on Sun Nov 10 2002 - 13:38:11 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:18:40 MST