Patch for bug #8156 - net ads join fails to use the user's kerberos ticket.
authorJeremy Allison <jra@samba.org>
Fri, 20 May 2011 21:43:50 +0000 (14:43 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 23 May 2011 18:43:03 +0000 (20:43 +0200)
commitccab9efb653cfacdd357986f7a8a85c17df7abbb
tree4484aa500b840db87e5fb51313ed9934c521fba0
parentd4c8b92a29aa9dcc976185aeb35ead8e911aab9c
Patch for bug #8156 - net ads join fails to use the user's kerberos ticket.

If kerberos_get_realm_from_hostname() or kerberos_get_default_realm_from_ccache() fails due to
 a misconfigured krb5.conf, try the "realm =" from smb.conf as a fallcback before going back to
 NTLMSSP (which we'll do anyway).
source3/libsmb/cliconnect.c