]> git.ipfire.org Git - thirdparty/squid.git/commit
Upgrade ntlm_fake_auth helper and internal libntlmauth
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 11 Jun 2010 06:20:24 +0000 (18:20 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 11 Jun 2010 06:20:24 +0000 (18:20 +1200)
commit75aa769bc374a0ebb66d3c41a763d5ca2ed44d4b
treea3e68e7f40bd5249e4e210638e9bbf1366ee28ea
parentf3f0f5634cad7a073e461f5a45e797f9c1349324
Upgrade ntlm_fake_auth helper and internal libntlmauth

Fake auth helper changes:

 - renames fakeauth to ntlm_fake_auth
 - links ntlm_fake_auth to libntlmauth
 - removes duplicate code provided by libcompat and libntlmauth
 - moves the remaining bits of fakeauth/ntlm.h to ntlm_fake_auth.cc

Library API changes:

 - moves some of the basic NTLM operations into libntlmauth
    * fetch_string UNICODE support
    * make challenge packet
    * validate packet type
    * make challenge nonce
    * unpack user and domain from authenticate packet

 - tweaks libntlmauth to split the make challenge operation so that it
   only generates the challenge object (does not encode blob for sending,
   or hard-code field values any more).

Other related changes:

 - tweaks the smb_lm helper which already linked libntlmauth so that it
   uses the updated API correctly after the above changes.

 - documents libntlmauth and some of ntlm_fake_auth helper
17 files changed:
configure.in
doc/release-notes/release-3.2.sgml
helpers/ntlm_auth/Makefile.am
helpers/ntlm_auth/fake/Makefile.am [new file with mode: 0644]
helpers/ntlm_auth/fake/config.test [moved from helpers/ntlm_auth/fakeauth/config.test with 100% similarity]
helpers/ntlm_auth/fake/ntlm_fake_auth.cc [new file with mode: 0644]
helpers/ntlm_auth/fakeauth/Makefile.am [deleted file]
helpers/ntlm_auth/fakeauth/fakeauth_auth.c [deleted file]
helpers/ntlm_auth/fakeauth/ntlm.h [deleted file]
helpers/ntlm_auth/smb_lm/Makefile.am
helpers/ntlm_auth/smb_lm/libntlmssp.c
helpers/ntlm_auth/smb_lm/ntlm_smb_lm_auth.c
helpers/ntlm_auth/smb_lm/ntlm_smb_lm_auth.h
include/config.h
include/ntlmauth.h
lib/Makefile.am
lib/ntlmauth.c