Re: [squid-users] 2.6-STABLE1 problem with wbinfo_group.pl

From: Covington, Chris <Chris.Covington@dont-contact.us>
Date: Wed, 12 Jul 2006 11:52:47 -0400

On Wed, Jul 12, 2006 at 04:44:24PM +0200, Guido Serassio wrote:
> Hi,
>
> At 16.27 12/07/2006, Covington, Chris wrote:
>
> >Debugging mode ON.
> >Got 0 ccovington Internet_Access_None from squid
> >Could not convert sid S-1-5-21-789336058-725345543-682003330-1106 to gid
> >User: -0-
> >Group: -ccovington-
> >SID: -S-1-5-21-789336058-725345543-682003330-1106-
> >GID: --
> >Could not get groups for user 0
> >Sending OK to squid
> >
> >Shouldn't the "Group:" be something other than ccovington, the username?
>
> The domain\ component is missing.
>
> This the working output:
>
> serassio@giove:~$ perl
> 2.6/helpers/external_acl/wbinfo_group/wbinfo_group.pl -d
> Debugging mode ON.
> acmeconsulting\guido.serassio Staff
> Got acmeconsulting\guido.serassio Staff from squid
> User: -acmeconsulting\guido.serassio-
> Group: -Staff-
> SID: -S-1-5-21-682003330-854245398-1708537768-1123-
> GID: -10010-
> Sending OK to squid
> OK
>
> Regards
>
> Guido

That's because I have winbind use default domain = yes in smb.conf.
However even with winbind use default domain = no in smb.conf,
wbinfo_group.pl still errors:

Debugging mode ON.
Got 0 CORP%5cadministrator Internet_Access_None from squid
Could not convert sid S-1-5-21-789336058-725345543-682003330-500 to gid
User: -0-
Group: -CORP\administrator-
SID: -S-1-5-21-789336058-725345543-682003330-500-
GID: --
Could not get groups for user 0
Sending OK to squid

---
Chris Covington
IT
Plus One Health Management
75 Maiden Lane Suite 801
NY, NY 10038
646-312-6269
http://www.plusoneactive.com
Received on Wed Jul 12 2006 - 09:52:57 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Aug 01 2006 - 12:00:01 MDT