cifs.upcall: handle MSKRB5 OID properly
authorJeff Layton <jlayton@redhat.com>
Wed, 20 Aug 2008 01:35:35 +0000 (21:35 -0400)
committerKarolin Seeger <kseeger@samba.org>
Thu, 21 Aug 2008 06:45:35 +0000 (08:45 +0200)
commit64ebfe4b2e5b7e3e07a0af424b35000693148e48
tree0860a3ae0c1a82804018cf3e0d833907a23b532c
parent435c10268bb6987ab7e8206cd6c45bd9961c5632
cifs.upcall: handle MSKRB5 OID properly

When the kernel sends the upcall a sec=mskrb5 parameter, that means
the the MSKRB5 OID is preferred by the server. This patch fixes the
upcall to use that OID in place of the "normal" krb5 OID when it
gets a sec=mskrb5 parameter.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Acked-by: Steve French <smfrench@gmail.com>
(cherry picked from commit 3d96409c115b3ad4ef29ff75e40b39a26e316afe)
source/client/cifs.upcall.c