• Steve French's avatar
    [CIFS] Fix cifsd so shuts down when signing fails during mount · a013689d
    Steve French authored
    Fixes two problems:
    1) we dropped down to negotiating lanman if we did not recognize the
    mechanism (krb5 e.g.)
    2) we did not stop cifsd (thus will fail when doing rmod cifs with
    slab free errors) when we fail tcon but have a bad session (which is
    the case in which signing is required but we don't allow signing on
    the client)
    It also turns on extended security flag in the header when passing
    "sec=krb5" on mount command (although kerberos support is not done of
    Acked-by: default avatarJeff Layton <jlayton@redhat.com>
    CC: Shaggy <shaggy@us.ibm.com>
    Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
cifs_debug.c 21.8 KB