From: Stefan Metzmacher Date: Thu, 5 Apr 2007 12:36:10 +0000 (+0000) Subject: r22093: send also the correct OID_KERBEROS5 not only the broken X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~773 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=294c69334fce1cbb74ae9eb5a06e17b397f994df;p=thirdparty%2Fsamba.git r22093: send also the correct OID_KERBEROS5 not only the broken OID_KERBEROS_OLD one. metze --- diff --git a/source/libsmb/clispnego.c b/source/libsmb/clispnego.c index 0c4217c4176..d2494cac864 100644 --- a/source/libsmb/clispnego.c +++ b/source/libsmb/clispnego.c @@ -348,7 +348,7 @@ int spnego_gen_negTokenTarg(const char *principal, int time_offset, { int retval; DATA_BLOB tkt, tkt_wrapped; - const char *krb_mechs[] = {OID_KERBEROS5_OLD, OID_NTLMSSP, NULL}; + const char *krb_mechs[] = {OID_KERBEROS5_OLD, OID_KERBEROS5, OID_NTLMSSP, NULL}; /* get a kerberos ticket for the service and extract the session key */ retval = cli_krb5_get_ticket(principal, time_offset,