Re: [SQU] How to install NTLM Authentication.

From: Robert Collins <robert.collins@dont-contact.us>
Date: Thu, 26 Oct 2000 00:33:29 +1100

Sorry I should have been a bit clearer.

Sign up with sourceforge.

then use

export CVS_RSH=ssg
cvs -d craig_fels@cvs.squid.sourceforge.net:/cvsroot/squid co -r ntlm squid

Rob

----- Original Message -----
From: "Craig Fels" <csfels@swbell.net>
To: "Robert Collins" <robert.collins@itdomain.com.au>
Cc: "Squid-Users" <squid-users@ircache.net>
Sent: Wednesday, October 25, 2000 11:25 PM
Subject: Re: [SQU] How to install NTLM Authentication.

> Rob,
>
> I tried SSH--or at least I think I did--and it also timed out. Here's
what
> I did:
>
> export CVS_RSH=ssh
> cvs -d:pserver:anonymous@cvs.squid.sourceforge.net:/cvsroot/squid logon
>
> I pressed enter for the password and NOTHING...it eventually timed out.
>
> Thanks,
> Craig
>
>
> ----- Original Message -----
> From: "Robert Collins" <robert.collins@itdomain.com.au>
> To: "Craig Fels" <csfels@swbell.net>
> Cc: "Squid-Users" <squid-users@ircache.net>
> Sent: Wednesday, October 25, 2000 12:57 AM
> Subject: RE: [SQU] How to install NTLM Authentication.
>
>
> If you have port 22 (SSH) open you could use that as your CVS RSH (see
> the squid cvs page on sourceforge). Or if that won't do I'll look into
> creating a snapshot and putting that on sourceforge.
>
> Please let me know is SSH will work for you
>
> Rob
>
> > -----Original Message-----
> > From: Craig Fels [mailto:csfels@swbell.net]
> > Sent: Wednesday, 25 October 2000 8:41 AM
> > To: Robert Collins; Yuri Sytema
> > Cc: Squid-Users
> > Subject: Re: [SQU] How to install NTLM Authentication.
> >
> >
> > I'm also trying to install NTLM authentication. I tried using
> > the cvs method
> > but port 2401 on our firewall is blocked. Is there another
> > way to get the
> > files associated with NTLM authentication?
> >
> > Thanks
> > Craig
> > ----- Original Message -----
> > From: "Robert Collins" <robert.collins@itdomain.com.au>
> > To: "Yuri Sytema" <Yuri.S@arma.nl>; "Craig Fels" <csfels@swbell.net>
> > Cc: "Squid-Users" <squid-users@ircache.net>
> > Sent: Tuesday, October 24, 2000 4:39 PM
> > Subject: Re: [SQU] How to install NTLM Authentication.
> >
> >
> > > Yuri that should work.
> > >
> > > The autoconf & autoheader errors occur because squid checks
> > the *local
> > > machine* for things like FD set sizes, tcp packet buffer size and no
> > default
> > > is provided - thus squid can't be compiled on one machine for use on
> > another
> > > (which autoconf and autoheader do normally allow).
> > >
> > > Rob
> > >
> > > ----- Original Message -----
> > > From: "Yuri Sytema" <Yuri.S@arma.nl>
> > > To: "Craig Fels" <csfels@swbell.net>
> > > Cc: "Squid-Users" <squid-users@ircache.net>
> > > Sent: Wednesday, October 25, 2000 1:13 AM
> > > Subject: RE: [SQU] How to install NTLM Authentication.
> > >
> > >
> > > >
> > > > Hi Craig
> > > >
> > > > No, I don't know what it does, but after I have started
> > it, it comes
> > back
> > > > with the command prompt.
> > > > So i suppose it worked :)
> > > > The second line seems to download te latest development
> > source of squid.
> > > >
> > > > Did U get another version up and running yet?
> > > > What do you need, like me just the fakeauth to get a
> > username, or do u
> > > need
> > > > authentication?
> > > >
> > > > after some little adjustments smb_auth runs fine over
> > here, but we're
> > not
> > > > using it.
> > > >
> > > >
> > > >
> > > > -----Oorspronkelijk bericht-----
> > > > Van: Craig Fels [mailto:csfels@swbell.net]
> > > > Verzonden: Tuesday, October 24, 2000 3:55 PM
> > > > Aan: Yuri Sytema
> > > > Onderwerp: Re: [SQU] How to install NTLM Authentication.
> > > >
> > > >
> > > > Yuri,
> > > >
> > > > I'm also trying to install NTLM for squid. I"m
> > following the steps you
> > > > listed below and have a question. When you type the
> > first cvs line to
> > log
> > > > on you press enter at the password prompt. Now what? Do
> > I wait for
> > some
> > > > confirmation that I was logged on, or do I continue
> > typing the next
> > line?
> > > >
> > > > Thanks
> > > > Craig
> > > > ----- Original Message -----
> > > > From: "Yuri Sytema" <Yuri.S@arma.nl>
> > > > To: "Robert Collins" <robert.collins@itdomain.com.au>
> > > > Cc: "Squid-Users" <squid-users@ircache.net>
> > > > Sent: Tuesday, October 24, 2000 7:11 AM
> > > > Subject: RE: [SQU] How to install NTLM Authentication.
> > > >
> > > >
> > > > > Okay, i started from scratch
> > > > >
> > > > > created a csv dir
> > > > > entered that dir
> > > > >
> > > > > cvs
> > -d:pserver:anonymous@cvs.squid.sourceforge.net:/cvsroot/squid
> > login
> > > > > #(no password just enter)
> > > > > cvs -z3
> > -d:pserver:anonymous@cvs.squid.sourceforge.net:/cvsroot/squid
> > > > co -r
> > > > > ntlm squid
> > > > >
> > > > > #a squid dir was created (with content)
> > > > > cd squid
> > > > > autoconf
> > > > > #i get the following errors, but was told to ignore them
> > > > > #configure.in:915: warning: AC_TRY_RUN called without
> > default to allow
> > > > > cross compiling
> > > > > #configure.in:1011: warning: AC_TRY_RUN called without
> > default to
> > allow
> > > > > cross compiling
> > > > > #configure.in:1012: warning: AC_TRY_RUN called without
> > default to
> > allow
> > > > > cross compiling
> > > > > #configure.in:1013: warning: AC_TRY_RUN called without
> > default to
> > allow
> > > > > cross compiling
> > > > > #configure.in:1287: warning: AC_TRY_RUN called without
> > default to
> > allow
> > > > > cross compiling
> > > > > autoheader
> > > > > #now I get these arrors, ignoring them assuming they
> > have something to
> > > do
> > > > > with the previous ones
> > > > > #configure.in:915: warning: AC_TRY_RUN called without
> > default to allow
> > > > > cross compiling
> > > > > #configure.in:1287: warning: AC_TRY_RUN called without
> > default to
> > allow
> > > > > cross compiling
> > > > > cd icons
> > > > > sh ./icons.shar
> > > > > cd ..
> > > > > mkdir build
> > > > > cd buils
> > > > >
> > > >
> > >
> > ../squid/configure --enable-ntlm-authentication
> > --enable-ntlm-auth-modules="
> > > > > fakeauth" --enable-basic-authentication
> > > > > make
> > > > > #i get the follofing errors
> > > > > #Making all in ntlm_auth_modules...
> > > > > #make[1]: Entering directory
> > `/usr/local/cvs/build/ntlm_auth_modules'
> > > > > #make[2]: Entering directory
> > > > > `/usr/local/cvs/build/ntlm_auth_modules/fakeauth'
> > > > >
> > #gcc -g -O2 -Wall -I. -I../../include
> > -I../../../squid/include -c -o
> > > > > fakeauth_auth.o
> > > #../../../squid/ntlm_auth_modules/fakeauth/fakeauth_auth.c
> > > > > #../../../squid/ntlm_auth_modules/fakeauth/fakeauth_auth.c: In
> > function
> > > > > `ntlmGetString':
> > > > > #../../../squid/ntlm_auth_modules/fakeauth/fakeauth_auth.c:123:
> > warning:
> > > > `c'
> > > > > might be used uninitialized in this #function
> > > > > #../../../squid/ntlm_auth_modules/fakeauth/fakeauth_auth.c: In
> > function
> > > > > `main':
> > > > > #../../../squid/ntlm_auth_modules/fakeauth/fakeauth_auth.c:241:
> > warning:
> > > > > implicit declaration of function `base64#_encode_bin'
> > > > > #../../../squid/ntlm_auth_modules/fakeauth/fakeauth_auth.c:266:
> > warning:
> > > > > implicit declaration of function `uudecode'
> > > > > #gcc -g fakeauth_auth.o -o
> > > > > fakeauth_auth -L../../lib -lmiscutil -lcrypt -lm
> > -lresolv -lbsd -lnsl
> > > > > #make[2]: Leaving directory
> > > > > `/usr/local/cvs/build/ntlm_auth_modules/fakeauth'
> > > > > #make[1]: Leaving directory
> > `/usr/local/cvs/build/ntlm_auth_modules'
> > > > > #[root@lproxy build]#
> > > > >
> > > > > This propably won't work, will it.?
> > > > >
> > > > >
> > > > > Yuri
> > > > > -----Oorspronkelijk bericht-----
> > > > > Van: Robert Collins [mailto:robert.collins@itdomain.com.au]
> > > > > Verzonden: Tuesday, October 24, 2000 10:48 AM
> > > > > Aan: Yuri Sytema; Chemolli Francesco (USI)
> > > > > CC: Squid-Users
> > > > > Onderwerp: Re: [SQU] How to install NTLM Authentication.
> > > > >
> > > > >
> > > > > Your configure statement is wrong. I haven't looked at
> > why you are
> > > getting
> > > > > errors just yet ( I am reworking the code anyway (not
> > in CVS though)).
> > > > >
> > > > > the configure parameters are --enable-ntlm-authentication
> > > > > and --enable-basic-authentication
> > > > > not --enable-ntlm-auth
> > > > >
> > > >
> > >
> > ../squid/configure --enable-ntlm-auth --enable-basic-auth
> > --enable-ntlm-auth
> > > > > -modules="NTLMSSP" --enable-delay-pools
> > > > >
> > > > > please try reconfiguring,
> > > > > Rob
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Yuri Sytema" <Yuri.S@arma.nl>
> > > > > To: "Chemolli Francesco (USI)" <ChemolliF@GruppoCredit.it>
> > > > > Cc: "Squid-Users" <squid-users@ircache.net>
> > > > > Sent: Tuesday, October 24, 2000 5:49 PM
> > > > > Subject: RE: [SQU] How to install NTLM Authentication.
> > > > >
> > > > >
> > > > > > Okay,
> > > > > >
> > > > > > ignored the following errors.
> > > > > >
> > > > > > [root@lproxy squid]# autoconf
> > > > > > configure.in:915: warning: AC_TRY_RUN called without
> > default to
> > allow
> > > > > cross
> > > > > > compiling
> > > > > > configure.in:1011: warning: AC_TRY_RUN called without
> > default to
> > allow
> > > > > cross
> > > > > > compiling
> > > > > > configure.in:1012: warning: AC_TRY_RUN called without
> > default to
> > allow
> > > > > cross
> > > > > > compiling
> > > > > > configure.in:1013: warning: AC_TRY_RUN called without
> > default to
> > allow
> > > > > cross
> > > > > > compiling
> > > > > > configure.in:1287: warning: AC_TRY_RUN called without
> > default to
> > allow
> > > > > cross
> > > > > > compiling
> > > > > > [root@lproxy squid]#
> > > > > >
> > > > > > [root@lproxy squid]# autoheader
> > > > > > configure.in:915: warning: AC_TRY_RUN called without
> > default to
> > allow
> > > > > cross
> > > > > > compiling
> > > > > > configure.in:1287: warning: AC_TRY_RUN called without
> > default to
> > allow
> > > > > cross
> > > > > > compiling
> > > > > > [root@lproxy squid]#
> > > > > >
> > > > > > used
> > > > > >
> > > > >
> > > >
> > >
> > ../squid/configure --enable-ntlm-auth --enable-basic-auth
> > --enable-ntlm-auth
> > > > > > -modules="NTLMSSP" --enable-delay-pools
> > > > > > to configure squid
> > > > > > typed make and it stopped with:
> > > > > >
> > > > > > make[2]: Leaving directory `/usr/local/cvs/build/src/repl'
> > > > > > make[2]: Entering directory `/usr/local/cvs/build/src'
> > > > > > gcc -g -O2 -Wall -I. -I../include
> > -I../../squid/include -c -o
> > > > > > access_log.o ../../squid/src/access_log.c
> > > > > > gcc -g -O2 -Wall -I. -I../include
> > -I../../squid/include -c -o
> > acl.o
> > > > > > ../../squid/src/acl.c
> > > > > > ../../squid/src/acl.c: In function `aclMatchProxyAuth':
> > > > > > ../../squid/src/acl.c:1466: warning: unreachable code
> > at beginning
> > of
> > > > > switch
> > > > > > statement
> > > > > > ../../squid/src/acl.c:1609: parse error before `static'
> > > > > > ../../squid/src/acl.c:1613: `first' undeclared (first
> > use in this
> > > > > function)
> > > > > > ../../squid/src/acl.c:1613: (Each undeclared
> > identifier is reported
> > > only
> > > > > > once
> > > > > > ../../squid/src/acl.c:1613: for each function it appears in.)
> > > > > > ../../squid/src/acl.c:1614: `prev' undeclared (first
> > use in this
> > > > function)
> > > > > > ../../squid/src/acl.c:1616: warning: dereferencing
> > `void *' pointer
> > > > > > ../../squid/src/acl.c:1616: request for member `i' in
> > something not
> > a
> > > > > > structure or union
> > > > > > ../../squid/src/acl.c:1616: `i' undeclared (first use in this
> > > function)
> > > > > > ../../squid/src/acl.c:1620: warning: dereferencing
> > `void *' pointer
> > > > > > ../../squid/src/acl.c:1620: request for member `next'
> > in something
> > not
> > > a
> > > > > > structure or union
> > > > > > ../../squid/src/acl.c:1621: warning: dereferencing
> > `void *' pointer
> > > > > > ../../squid/src/acl.c:1621: request for member `next'
> > in something
> > not
> > > a
> > > > > > structure or union
> > > > > > ../../squid/src/acl.c:1627: warning: dereferencing
> > `void *' pointer
> > > > > > ../../squid/src/acl.c:1627: request for member `next'
> > in something
> > not
> > > a
> > > > > > structure or union
> > > > > > ../../squid/src/acl.c: In function `aclMatchAcl':
> > > > > > ../../squid/src/acl.c:1832: warning: implicit declaration of
> > function
> > > > > > `aclMatchInteger'
> > > > > > make[2]: *** [acl.o] Error 1
> > > > > > make[2]: Leaving directory `/usr/local/cvs/build/src'
> > > > > > make[1]: *** [all] Error 2
> > > > > > make[1]: Leaving directory `/usr/local/cvs/build/src'
> > > > > > make: *** [all] Error 1
> > > > > > [root@lproxy build]#
> > > > > >
> > > > > > something must be wrong here..
> > > > > >
> > > > > > what did I do wrong?
> > > > > >
> > > > > >
> > > > > > -----Oorspronkelijk bericht-----
> > > > > > Van: Chemolli Francesco (USI)
> [mailto:ChemolliF@GruppoCredit.it]
> > > > > Verzonden: Tuesday, October 24, 2000 8:32 AM
> > > > > Aan: 'Yuri.S@arma.nl'
> > > > > Onderwerp: RE: [SQU] How to install NTLM Authentication.
> > > > >
> > > > >
> > > > >
> > > > > > Hi
> > > > > >
> > > > > > Installed m4 and the autoconf/autoheader tools.
> > > > > >
> > > > > > when running autoconf i get the following error.
> > > > > > What's wrong?
> > > > > >
> > > > > > [root@lproxy squid]# autoconf
> > > > > > configure.in:915: warning: AC_TRY_RUN called without default
> > > > > > to allow cross
> > > > > > compiling
> > > > > > configure.in:1011: warning: AC_TRY_RUN called without default
> > > > > > to allow cross
> > > > > > compiling
> > > > > > configure.in:1012: warning: AC_TRY_RUN called without default
> > > > > > to allow cross
> > > > > > compiling
> > > > > > configure.in:1013: warning: AC_TRY_RUN called without default
> > > > > > to allow cross
> > > > > > compiling
> > > > > > configure.in:1287: warning: AC_TRY_RUN called without default
> > > > > > to allow cross
> > > > > > compiling
> > > > > > [root@lproxy squid]#
> > > > >
> > > > > This is normal. You can safely ignore it.
> > > > >
> > > > > --
> > > > > /kinkie
> > > > >
> > > > > --
> > > > > To unsubscribe, see
> http://www.squid-cache.org/mailing-lists.html
> > > > >
> > > > >
> > > >
> > > > --
> > > > To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
> > > >
> > > > --
> > > > To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
> > > >
> > >
> > >
> > > --
> > > To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
> > >
> > >
> >
>
> --
> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
>
>
>

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Wed Oct 25 2000 - 07:31:32 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:55:56 MST