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, 28 Aug 2008 14:05:27 +0000 (16:05 +0200)
commit5795219f4825d14a02a2d163ae539057112127b6
tree1acf8889b3da7408fa7f7255e2b89cea000835fe
parentb8f8560c80d0511352921c21a4d973ad522987cb
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