[SQU] NTLM Problems

From: Magnus Ullberg <UllbergM@dont-contact.us>
Date: Thu, 16 Nov 2000 12:35:21 -0600

I downloaded the latest snapshot from the website and applied the ntlm.patch
to it. no_check.pl works fine but when i try to use ntlm_auth i get this in
the logfile:

ntlm-auth[19604](ntlm_auth.c:327): ntlm authenticator. Got
'TlRMTVNTUAABAAAABoIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAwAAAA' from
cache
ntlm-auth[19604](ntlm_auth.c:381): status 0
ntlm-auth: ERR couldn't obtain a challenge from the Domain Controller
ntlm-auth[19604](ntlm_auth.c:520): managing request
2000/11/16 12:28:00| authenticateNTLMHandleReply: Error validating user via
NTLM
2000/11/16 12:28:00| auth user 0 connauth user 0 conn type 2
2000/11/16 12:28:03| auth user 0 connauth user 0 conn type 2

this is from squid.conf
authenticate_program_ntlm /usr/local/squid/bin/ntlm_auth \\NT14202

When i compile NTLMSSP i get a bunch or warnings, but since this is under
development im sure that they are "normal":

smblib-priv.h:499: warning: `SMB_Prots' defined but not used
libntlmssp.c: In function `make_challenge':
libntlmssp.c:199: warning: assignment discards qualifiers from pointer
target type
libntlmssp.c: At top level:
smbval/smblib-priv.h:513: warning: `SMB_Tmake[1]: Entering directoryvalid.c:
In function `Valid_User':
valid.c:24: warning: implicit declaration of function `SMB_Init'
valid.c:32: warnigcc -g -O2 -Wall -c -o session.o session.c
gcc -g -O2 -Wall -c -o rfcnb-util.o rfcnb-util.c
gcc -g -O2 -Wall -c -o rfcnb-io.o rfcnb-io.c
gcc -g -O2 -Wall -c -o smblib-util.o smblib-util.c
gcc -g -O2 -Wall -c -o smblib.o smblib.c
gcc -g -O2 -Wall -c -o smbencrypt.o smbencrypt.c
gcc -g -O2 -Wall -c -o smbdes.o smbdes.c
gcc -g -O2 -Wall -c -o md4.o md4.c
/usr/bin/ar rcs smbvalid.a valid.o session.o rfcnb-util.o rfcnb-io.o
smblib-util.o smblib.o smbencrypt.o smbdes.o md4.o
make[1]: Leaving directory
`/home/ullbergm/squid-2.4-200011160000/ntlm_auth_modules/NTLMSSP/smbval'
gcc -g ntlm_auth.o libntlmssp.o smbval/smbvalid.a -o ntlm_auth -L../../lib
-lmiscutil -lcrypt -lm -lresolv -lbsd -lnslt_Pkt'
session.c: In function `RFCNB_Listen':
session.c:311: warning: control reaches end of non-void function
session.c: In function `RFCNB_Get_Error_Msg':
session.c:356: warning: implicit declaration of function `abs'
rfcnb-util.c: In function `RFCNB_Free_Pkt':
rfcnb-util.c:226: warning: control reaches end of non-void function
rfcnb-util.c: In function `RFCNB_Name_To_IP':
rfcnb-util.c:322: warning: implicit declaration of function `inet_addr'
rfcnb-util.c: In function `RFCNB_Session_Req':
rfcnb-util.c:435: warning: suggest parentheses around + or - inside shift
rfcnb-util.c:435: warning: suggest parentheses around + or - inside shift
rfcnb-util.c:435: warning: suggest parentheses around + or - in operand of &
rfcnb-util.c:418: warning: unused variable `n2'
rfcnb-util.c:418: warning: unused variable `n1'
rfcnb-util.c:418: warning: unused variable `ln2'
rfcnb-util.c:418: warning: unused variable `ln1'
rfcnb-util.c: At top level:
rfcnb-error.h:52: warning: `RFCNB_Error_Strings' defined but not used
rfcnb-io.c: In function `RFCNB_Set_Timeout':
rfcnb-io.c:49: warning: unused variable `temp'
rfcnb-io.c: At top level:
rfcnb-error.h:52: warning: `RFCNB_Error_Strings' defined but not used
rfcnb-error.h:52: warning: `RFCNB_Error_Strings' defined but not used
smblib-util.c:85: warning: implicit declaration of function `strcat'
smblib-util.c: In function `SMB_Figure_Protocol':
smblib-util.c:176: warning: implicit declaration of function `strcmp'
smblib-util.c: In function `SMB_Negotiate':
smblib-util.c:212: warning: implicit declaration of function `strlen'
smblib-util.c:264: warning: implicit declaration of function `strcpy'
smblib-util.c:278: warning: implicit declaration of function
`RFCNB_Free_Pkt'
smblib-util.c:360: warning: int format, pointer arg (arg 3)
smblib-util.c:361: warning: implicit declaration of function `memcpy'
smblib-util.c:365: warning: implicit declaration of function `strncpy'
smblib-util.c:201: warning: unused variable `resp_pkt'
smblib-util.c:200: warning: unused variable `prot_pkt'
smblib-util.c: In function `SMB_Get_My_Name':
smblib-util.c:414: warning: unused variable `loc'
smblib-util.c: In function `SMB_TreeConnect':
smblib-util.c:449: warning: suggest parentheses around comparison in operand
of |
smblib-util.c:449: warning: suggest parentheses around comparison in operand
of |
smblib-util.c:591: warning: statement with no effect
smblib-util.c:592: warning: statement with no effect
smblib-util.c:443: warning: unused variable `i'
smblib-util.c:443: warning: unused variable `i'
smblib-util.c:781: warning: implicit declaration of function `strncat'
smblib-util.c:790: warning: control reaches end of non-void function
smblib-util.c: At top level:
rfcnb-error.h:52: warning: `RFCNB_Error_Strings' defined but not used
smblib.c: In function `SMBlib_Set_Sock_NoDelay':
smblib.c:95: warning: implicit declaration of function
`RFCNB_Set_Sock_NoDelay'
smblib.c: In function `SMB_Connect_Server':
smblib.c:135: warning: implicit declaration of function `strcpy'
smblib.c:153: warning: implicit declaration of function `strchr'
smblib.c:153: warning: assignment makes pointer from integer without a cast
smblib.c:171: warning: implicit declaration of function `strlen'
smblib.c:172: warning: implicit declaration of function `toupper'
smblib.c:181: warning: implicit declaration of function `strcmp'
smblib.c:115: warning: unused variable `temp'
smblib.c: In function `SMB_Connect':
smblib.c:253: warning: implicit declaration of function `SMB_Get_My_Name'
smblib.c:267: warning: implicit declaration of function `strtok'
smblib.c:308: warning: implicit declaration of function `SMB_Negotiate'
smblib.c: In function `SMB_Logon_Server':
smblib.c:352: warning: implicit declaration of function `memcpy'
smblib.c:358: warning: implicit declaration of function `SMBencrypt'
smblib.c:507: warning: implicit declaration of function `RFCNB_Free_Pkt'
smblib.c:336: warning: unused variable `i'
smblib.c: At top level:
smblib-priv.h:499: warning: `SMB_Prots' defined but not used
smblib-priv.h:513: warning: `SMB_Types' defined but not used
rfcnb-error.h:52: warning: `RFCNB_Error_Strings' defined but not used
smbencrypt.c: In function `SMBencrypt':
smbencrypt.c:52: warning: implicit declaration of function `E_P16'
smbencrypt.c:53: warning: implicit declaration of function `E_P24'
smbencrypt.c: In function `E_md4hash':
smbencrypt.c:107: warning: implicit declaration of function `mdfour'
smbencrypt.c: In function `strupper':
smbencrypt.c:191: warning: implicit declaration of function `islower'
smbencrypt.c:192: warning: implicit declaration of function `toupper'
smbencrypt.c: At top level:
smblib-priv.h:499: warning: `SMB_Prots' defined but not used

Magnus Ullberg
Network Coordinator

Area Bancshares Corporation
Networking Department
230 Frederica St.
Owensboro, KY 42301

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Thu Nov 16 2000 - 11:37:13 MST

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