only honor the first OID in the sessetup snego negotiate. Deviates
authorGerald Carter <jerry@samba.org>
Thu, 31 Jul 2003 19:01:22 +0000 (19:01 +0000)
committerGerald Carter <jerry@samba.org>
Thu, 31 Jul 2003 19:01:22 +0000 (19:01 +0000)
commit731420b03dbc15977822f74047e931dc62284fc0
tree88c8f50480c1f894db8aff31c001ecd7b3dc0dbd
parent44bae9da9e03a1df738367f8d86adb0f315da41f
only honor the first OID in the sessetup snego negotiate.  Deviates
from RFC but I'm smelling a client bug here.

/* only look at the first OID for determining the mechToken --
   accoirding to RFC2478, we should choose the one we want
   and renegotiate, but i smell a client bug here..

   Problem observed when connecting to a member (samba box)
   of an AD domain as a user in a Samba domain.  Samba member
   server sent back krb5/mskrb5/ntlmssp as mechtypes, but the
   client (2ksp3) replied with ntlmssp/mskrb5/krb5 and an
   NTLMSSP mechtoken.                 --jerry              */
source/smbd/sesssetup.c