Status of NTLM support

From: Herbert Pfennig <hpfennig@ironport.com>
Date: Thu Oct 26 2006 - 19:10:46 MDT

Hi All,

I am trying to tackle NTLM authentication with web-polygraph. I managed to get
the example code for "Non C++" modules compiled, available on the "Loadable
Modules" reference page:

http://www.web-polygraph.org/docs/reference/modules.html

Here are my steps to compiling...

* Copy ntlm.cc in
~~/polygraph-2.8.1/src/client

* Compile ntlm.cc to generate ntlm.o

----------
g++ -o ntlm.o -c ntlm.cc -g -O3 -Wall -Wwrite-strings
-Woverloaded-virtual -Wno-deprecated -I../.. -I.. -fPIC -DHAVE_CONFIG_H
----------

* Compile ntlm.o to generate ntlm.so

----------
g++ -shared -export-dynamic -Wl,-soname,ntlm.so -o ntlm.so -I. -I..
-I../.. ntlm.o
----------

When I run it, I get this for obvious reasons...

000.01| loading dynamic module: /home/polytest/ntlm/ntlm.so
000.01| error loading dynamic module '/home/polytest/ntlm/ntlm.so':
000./home/polytest/ntlm/ntlm.so: Undefined symbol "AddNtlmAuthHeaders"
000.01| last error was fatal; terminating...

The question is how difficult is it to implement the AddNtlmAuthHeaders() function
in C. Is this something that is available somewhere already?

~~hp
Received on Thu Oct 26 20:24:53 2006

This archive was generated by hypermail 2.1.8 : Fri Oct 27 2006 - 12:00:06 MDT