Re: Re: [squid-users] Blocking groups in NT by NTLM

From: Jerry Murdock <jmurdock@dont-contact.us>
Date: Thu, 16 May 2002 14:26:48 -0400

If your adventurous and want to keep is all on the Squid box, use
rpcclient from Samba. It takes a couple steps to translate the returned RIDs
into user names.

OR

Use the new "net" command from Samba 3.0 which will return the usernames
directly.

Jerry

----- Original Message -----
From: "Chemolli Francesco (USI)" <ChemolliF@GruppoCredit.it>
To: "'Alex Carlos Braga Antão'" <alexantao@yahoo.com.br>;
<squid-users@squid-cache.org>
Sent: Thursday, May 16, 2002 11:55 AM
Subject: RE: Re: [squid-users] Blocking groups in NT by NTLM

> That´s interesting, do you know about a command line on Win 2000 that
> exports this list ? It wold be interesting to put a command
> line on schedule
> and auto send the file to squid...

"net localgroup <groupname>" for local groups
"net group <groupname>" for domain groups

You might need to mangle the output. NT4 outputs the user names
in columns, not sure about win2k.

If you are running samba and winbindd, you can enumerate
a domain group's users via wbinfo.

--
/kinkie
Received on Thu May 16 2002 - 12:29:34 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:08:08 MST