RE: [SQU] How to install NTLM Authentication.

From: Yuri Sytema <Yuri.S@dont-contact.us>
Date: Tue, 24 Oct 2000 14:11:42 +0200

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
Received on Tue Oct 24 2000 - 06:15:14 MDT

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