On Wed, Mar 19, 2008 at 7:07 AM, Amos Jeffries <[EMAIL PROTECTED]> wrote: > Martin, Jeremy wrote: > > Ok here is my issue, I have compiled and installed the latest stable > version of squid and samba, and all seemed well until I tried the following > command and got the following output. Anyone have any idea why this is not > working like it used to, on my other box it will give the prompt where I can > enter my username and password and it returns ok. Wbinfo -u and -g will > populate the user and group info so I am pretty sure that is setup correctly, > I just seem to be missing something here . > > > > Thanks > > Jeremy > > > > debian:/usr/local/squid/libexec# ./ntlm_auth > --helper-protocol=squid-2.5-basic > > ./ntlm_auth: invalid option -- - > > unknown option: -?. Exiting > > ./ntlm_auth usage: > > ./ntlm_auth [-b] [-f] [-d] [-l] domain\controller [domain\controller ...] > > -b enables load-balancing among controllers > > -f enables failover among controllers (DEPRECATED and always active) > > -l changes behavior on domain controller failyures to last-ditch. > > -d enables debugging statements if DEBUG was defined at build-time. > > > > You MUST specify at least one Domain Controller. > > You can use either \ or / as separator between the domain name > > and the controller name > > ./ntlm_auth: invalid option -- h > <snip the loop> > > Weird, but it is saying --helper-option= is not one of the command-line > options. > > I think that is a squid internal option to tell squid how to connect to > the helper.
Jeremy, you're using the squid-supplied NTLM helper, and not the Samba one. I suggest you change that to the helper written by the Samba team (and which understands the helper-protocol option) -- /kinkie