diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-10-21 00:11:22 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-10-21 00:11:22 +0000 |
commit | cbe31055f8deb5844b34e8f1b32e27c830d134ed (patch) | |
tree | 8a9af94d6ce35e9145256f0b7d094e7f540ed94e /source3/libsmb | |
parent | b7331220c65747c6d7de2b05372839c20f712439 (diff) | |
download | samba-cbe31055f8deb5844b34e8f1b32e27c830d134ed.tar.gz samba-cbe31055f8deb5844b34e8f1b32e27c830d134ed.tar.bz2 samba-cbe31055f8deb5844b34e8f1b32e27c830d134ed.zip |
support both old and new kerberos OIDs
(This used to be commit eac164c7e650a8f855e7b662b126a5dfc5516927)
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/cliconnect.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c index 4fba54900d..e24f081c69 100644 --- a/source3/libsmb/cliconnect.c +++ b/source3/libsmb/cliconnect.c @@ -528,7 +528,8 @@ static BOOL cli_session_setup_spnego(struct cli_state *cli, char *user, /* make sure the server understands kerberos */ for (i=0;OIDs[i];i++) { DEBUG(3,("got OID=%s\n", OIDs[i])); - if (strcmp(OIDs[i], OID_KERBEROS5_OLD) == 0) { + if (strcmp(OIDs[i], OID_KERBEROS5_OLD) == 0 || + strcmp(OIDs[i], OID_KERBEROS5) == 0) { got_kerberos_mechanism = True; } free(OIDs[i]); |