On 24/12/2013 2:28 a.m., Alex Crow wrote: > Hi, > > I use the below: > > external_acl_type nt_group ttl=20 children-startup=10 children-max=70 > children-idle=10 %LOGIN /usr/lib/squid3/ext_wbinfo_group_acl > > to be able to use NT groups in my squid config. This works fine in 3.2 > and 3.3, but I recently tried to upgrade to 3.4 and this stopped > working. In the cache.log there are hundreds of entries like: > > Could not get groups for user DOMAINuser > > Whereas the correct user name should be DOMAIN\user. If I pass the > correct username to the wbinfo_group helper it works, so it seems squid > is dropping the backslash in my 3.4 install (squid-3.4.1-20131216-r13058). > > Going back the 3.3.11 makes everything work as expected. > Can you test 3.4 latest snapshot with this patch on top please? Amos
=== modified file 'src/String.cc' --- src/String.cc 2012-10-04 09:14:06 +0000 +++ src/String.cc 2013-12-24 02:33:52 +0000 @@ -376,7 +376,8 @@ switch (ch) { case '\\': - ++p; + if (quoted) + ++p; switch (*p) {