summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-04-05 12:36:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:19:10 -0500
commit14ac7712f3fd78ecb5f84b8b8e5e7fd6cb469671 (patch)
tree10e73295a4892c04f8a0e935300cf57ee9d3fe50 /source3/libsmb
parenteceb926df94063e91c5abc96f52a1bc7b45ce290 (diff)
downloadsamba-14ac7712f3fd78ecb5f84b8b8e5e7fd6cb469671.tar.gz
samba-14ac7712f3fd78ecb5f84b8b8e5e7fd6cb469671.tar.bz2
samba-14ac7712f3fd78ecb5f84b8b8e5e7fd6cb469671.zip
r22093: send also the correct OID_KERBEROS5 not only the broken
OID_KERBEROS_OLD one. metze (This used to be commit 294c69334fce1cbb74ae9eb5a06e17b397f994df)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clispnego.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clispnego.c b/source3/libsmb/clispnego.c
index 0c4217c417..d2494cac86 100644
--- a/source3/libsmb/clispnego.c
+++ b/source3/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,