[RFC] merging NTLM and Negotiate scheme components

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 16 Dec 2011 22:09:59 +1300

As Henrik mentioned a few days ago the NTLM and Negotiate auth logics
are pretty much cut-n-paste copies of each other with a bit of symbol
renaming and a slight difference in bugs. The more I abstract the
objects back to a single core auth library with inherited
scheme-specific objects, the more this becomes visible.

I've been wondering whether it would be a good idea to make these two
components libraries inherit from each other one way or another instead
of independently from the abstracted auth core objects.

Along those lines, and since Negotiate is a combo of both Kerberos and
NTLM handling I am considering making the older NTLM component inherit
from Negotiate. So when NTLM is enabled at build we get NTLM and
Negotiate/NTLM support. When only Negotiate is enabled we get
Negotiate/NTLM and Negotiate/Kerberos. And when both components are
enabled we get NTLM, Negotiate/NTLM, and Negotiate/Kerberos.

Thoughts?

Amos
Received on Fri Dec 16 2011 - 09:10:10 MST

This archive was generated by hypermail 2.2.0 : Fri Dec 16 2011 - 12:00:10 MST