Re: Re: [PATCH 00/12] cifs: fix string conversions from wire format to local charset (try #3)

Jeff Layton <[email protected]>
Newsgroups gmane.linux.file-systems.cifs
Message-ID <[email protected]>
On Thu, 30 Apr 2009 10:10:15 -0500
Steve French <[email protected]> wrote:

> On Thu, Apr 30, 2009 at 9:56 AM, Jeff Layton <[email protected]> wrote:
> > Don't forget about the duplicate code in CIFSSesSetup (or whatever the
> > studly caps are for it). That adds another few hundred lines or so.
> > Removing the NTLMSSP code would take a 1000 line chunk out of cifs, to
> > which I say "hurrah!".
> 
> We had discussed simply throwing away all of CIFSSesSetup and
> a good chunk of now unneeded code in cifs_setup_session, and
> only salvaging/porting/rewriting the two NTLMSSP functions.
> 
> Do we want to port anything out of CIFSSesSetup?  It
> was just the old NTLM code, which can be thrown away not that
> the fs/cifs/sess.c code is stable.  Is there any unique function in
> that that is not in fs/cifs/sess.c already?
> 

I doubt it.

I'm sure that if we had any users who weren't able to setup sessions
then we'd hear about it. Note that for all practical purposes, most
users couldn't care less what auth method they're using as long as they
can mount their shares.

It's for this reason that I consider the NTLMSSP code to be non-useful.
All of the servers that support NTLMSSP also support "regular" NTLMv2.
Is there any reason that this is anything other than a "nice to have"?

-- 
Jeff Layton <[email protected]>
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.