Status of NTLM support

Herbert Pfennig <hpfennig-YZ/nxcplwMRWk0Htik3J/[email protected]>
Newsgroups gmane.comp.web.web-polygraph.user
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.