All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] cifs: session matching and authentication fixes and cleanups
@ 2010-06-20 21:10 Jeff Layton
       [not found] ` <1277068251-16344-1-git-send-email-jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 12+ messages in thread
From: Jeff Layton @ 2010-06-20 21:10 UTC (permalink / raw)
  To: smfrench-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA

This patchset does some cleanup and fixes a number of bugs related to
the handling of the TCP_Server_Info->secType. It also adds a bit of code
to allow the userspace mount helper to use the krb5 credcache for the
real user doing the mount instead of the one given by the uid= option.

This is a more incremental change from the previous patchsets that I
proposed for this. In most of those, I moved the secType field to the
cifsSesInfo struct. While I still think that's a better approach, it's
very difficult to do for a couple of reasons:

- the NTLMSSP auth code is broken, so we can't unconditionally set the
  extended security bit in the session setup code yet.

- there is apparent need to allow for multiple sec= mount options.
  Unfortunately, the rules for how that's supposed to work are not at
  all clear to me. I decided it was safer to leave the existing code
  that sets the secType as untouched as possible.

I see these patches as 2.6.36 material. They are also required for the
multisession mount patchset. They're also in the cifs-2.6.36 branch of
my kernel.org git tree as well if it's easier to pull from there.

Comments and suggestions welcome.

Jeff Layton (6):
  cifs: have cifs_convert_address set port
  cifs: move address comparison into separate function
  cifs: match secType when searching for existing tcp session
  cifs: clean up cifs_find_smb_ses
  cifs: remove unused cifsUidInfo struct
  cifs: add separate cred_uid field to sesInfo

 fs/cifs/cifs_spnego.c |    3 +
 fs/cifs/cifsglob.h    |   24 +------
 fs/cifs/cifsproto.h   |    3 +-
 fs/cifs/connect.c     |  161 ++++++++++++++++++++++++++++++++++---------------
 fs/cifs/dns_resolve.c |    2 +-
 fs/cifs/netmisc.c     |    5 +-
 6 files changed, 125 insertions(+), 73 deletions(-)

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-07-23 20:51 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-20 21:10 [PATCH 0/6] cifs: session matching and authentication fixes and cleanups Jeff Layton
     [not found] ` <1277068251-16344-1-git-send-email-jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-06-20 21:10   ` [PATCH 1/6] cifs: have cifs_convert_address set port Jeff Layton
2010-06-20 21:10   ` [PATCH 2/6] cifs: move address comparison into separate function Jeff Layton
2010-06-20 21:10   ` [PATCH 3/6] cifs: match secType when searching for existing tcp session Jeff Layton
2010-06-20 21:10   ` [PATCH 4/6] cifs: clean up cifs_find_smb_ses Jeff Layton
2010-06-20 21:10   ` [PATCH 5/6] cifs: remove unused cifsUidInfo struct Jeff Layton
2010-06-20 21:10   ` [PATCH 6/6] cifs: add separate cred_uid field to sesInfo Jeff Layton
     [not found]     ` <1277068251-16344-7-git-send-email-jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-07-15 20:24       ` Steve French
     [not found]         ` <AANLkTik7vm4iYcRH2oGxuINyL2VxY_h9Y03sFhQWR19d-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-15 21:19           ` Jeff Layton
     [not found]             ` <20100715171936.4252a16d-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>
2010-07-18 11:18               ` Jeff Layton
     [not found]                 ` <20100718071819.4264e8aa-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2010-07-23 20:51                   ` Jeff Layton
2010-07-23 18:41           ` Jeff Layton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.