r15426: Implement SPNEGO as the default RPC authentication mechanism. Where
authorAndrew Bartlett <abartlet@samba.org>
Thu, 4 May 2006 10:03:41 +0000 (10:03 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:05:36 +0000 (14:05 -0500)
commitb3212d1fb91b26c1d326a289560106dffe1d2e80
tree75a65e43493c162db38c4314be9b2aeaaaf613e3
parentedf0701e877592695bd69124e528338c27f24efd
r15426: Implement SPNEGO as the default RPC authentication mechanism.  Where
this isn't supported, fallback to NTLM.

Also, where we get a failure as 'logon failure', try and do a '3
tries' for the password, like we already do for CIFS.  (Incomplete:
needs a mapping between RPC errors and the logon failure NTSTATUS).

Because we don't yet support Kerberos sign/seal to win2k3 SP1 for
DCE/RPC, disable this (causing SPNEGO to negotiate NTLM) when kerberos
isn't demanded.

Andrew Bartlett
source/auth/gensec/gensec_gssapi.c
source/libnet/libnet_join.c
source/librpc/rpc/dcerpc.h
source/librpc/rpc/dcerpc_connect.c
source/librpc/rpc/dcerpc_util.c
source/script/tests/test_session_key.sh
source/script/tests/test_w2k3.sh
source/script/tests/tests_all.sh
source/torture/rpc/bind.c