Re: [Evolution-hackers] NTLM stuff



On Hën , 2004-05-17 at 15:50 +0200, Søren Hansen wrote:
> On man, 2004-05-17 at 09:28 -0400, Rodney Dawes wrote:
> > I don't know how long it would
> > take though. Of course, we would still depend on some patch to OpenLDAP
> > for Evolution Exchange to work properly.
> 
> How so? If OpenLDAP learns how to speak NTLM, what do we need a special
> version for?

Because it will take at least a year to make it into the distros
properly.

> > > Oh, no. I don't expect Evolution to stop depending on OpenLDAP. Just the
> > > other way around.
> > OK. OpenLDAP doesn't depend on Evolution. Evolution Exchange depends on
> > a specific patch to OpenLDAP to be able to do NTLM authentication.
> 
> Yes, but the patched version of openldap depends on stuff in the
> connector. Maybe it's just me, but wouldn't it be a good thing to not
> depend on a *patched* version of OpenLDAP but rather a stock OpenLDAP,
> that knows how to speak NTLM?

No. It doesn't. The patched OpenLDAP works just fine without connector.
You just can't do NTLM without providing the proper functionality.

> Current situation:
> Ximian Connector contains NTLM-functionality.
> To use the Connector, you need a patched version of OpenLDAP.
> The patched version of OpenLDAP calls some functions in the Connector to
> do NTLM.

No. The patched version of OpenLDAP adds some hooks that the exchange
code connects to. This is no different than the callbacks provided by
the other libraries that evolution-exchange uses... GTK+ for example.

> I'm quite sure that we can agree that the patched version of OpenLDAP
> and the Connector have an interdependency, right?

No. Because they don't. :)

> The situation I propose:
> The NTLM-functionality from the Connector is moved into a new library
> (libntlm).
> The patch to OpenLDAP which is currently used for the Connector, is
> submitted to upstream. This creates a dependency between OpenLDAP and
> libntlm.
> The Connector can now run with the new stock OpenLDAP.

There's no need for a libntlm. We can just put the code straight into
OpenLDAP. Having a libntlm would end up creating a mess of dependencies
between more than 2 modules.

-- dobey

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]