Re: [squid-users] wbinfo_group.pl not working with Squid-2.5.STABLE5-4.fc2 / Samba- 3.0.6-2.fc2

From: Jerry Murdock <jmurdock@dont-contact.us>
Date: Wed, 15 Sep 2004 09:22:01 -0400

Also:
In wbinfo_group.pl, try try placing the line:
        chop $groupSID;
with
        $groupSID = substr($groupSID,0,index($groupSID," ",0));

This should strip the "Domain Group (2)" off of what get's passed back to
Samba.

There is a another patch floating around that does this, and may help.

I'm wondering if there are some differences between getopt versions (or
whatever Samba uses) or other OS/Build dependent command line parsing
issues.

I've never had any issues, but use FreeBSD and build my own squid from
source. Currently don't have a recent-enough Linux box to bother testing
with.

Jerry

----- Original Message -----
From: "Henrik Nordstrom" <hno@squid-cache.org>
To: "Bastiaans, Remco" <r.bastiaans@rijnland.nl>
Cc: <squid-users@squid-cache.org>
Sent: Wednesday, September 15, 2004 3:45 AM
Subject: Re: [squid-users] wbinfo_group.pl not working with
Squid-2.5.STABLE5-4.fc2 / Samba- 3.0.6-2.fc2

>
>
> On Mon, 13 Sep 2004, Bastiaans, Remco wrote:
>
> > # ./wbinfo_group.pl
> > RZH_NT+RBasti Internet
> > Got RZH_NT+RBasti Internet from squid
> > User: -RZH_NT+RBasti-
> > Group: -Internet-
> > SID: -S-1-5-21-637226847-105070846-619646970-7160 Domain Group (2)-
> > GID: -Could not convert sid
S-1-5-21-637226847-105070846-619646970-7160
> > Domain Group (2) to gid-
> > Sending ERR to squid
> > ERR
>
>
> Which version of Samba is this?
>
> What is the output of the following?
>
> #!/bin/sh
> set -x
> sid="`wbinfo -n RZH_NT+RBasti`"
> wbinfo -Y "$sid"
> wbinfo -Y "${sid%% *}"
> sid="`wbinfo -n Internet`"
> wbinfo -Y "$sid"
> wbinfo -Y "${sid%% *}"
> wbinfo -r RZH_NT+RBasti
>
> Regards
> Henrik
Received on Wed Sep 15 2004 - 07:22:14 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Oct 01 2004 - 12:00:02 MDT