r9505: Work on GENSEC and the code that calls it, for tighter interface
authorAndrew Bartlett <abartlet@samba.org>
Tue, 23 Aug 2005 05:29:37 +0000 (05:29 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:34:24 +0000 (13:34 -0500)
commitba90b652d918fb34f1e43083f8283f669c73c340
tree2c656b05b9d164c9294f5c47089481355685336e
parent8f9478b09d39d8c13871684a6af3d3e1629a0e84
r9505: Work on GENSEC and the code that calls it, for tighter interface
requirements, and for better error reporting.

In particular, the composite session setup (extended security/SPNEGO)
code now returns errors, rather than NT_STATUS_NO_MEMORY.  This is
seen particularly when GENSEC fails to start.

The tighter interface rules apply to NTLMSSP, which must be called
exactly the right number of times.  This is to match some of our other
less-tested modules, where adding flexablity is harder.  (and this is
security code, so let's just get it right).  As such, the DCE/RPC and
LDAP clients have been updated.

Andrew Bartlett
(This used to be commit 134550cf752b9edad66c3368750bfb4bbd9d55d1)
source4/auth/ntlmssp/ntlmssp.c
source4/auth/ntlmssp/ntlmssp_client.c
source4/libcli/composite/connect.c
source4/libcli/composite/sesssetup.c
source4/libcli/ldap/ldap_bind.c
source4/librpc/rpc/dcerpc_auth.c