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)
commit134550cf752b9edad66c3368750bfb4bbd9d55d1
tree850e097f1d439baab6fe4ed979c784c88f68c4e6
parent84c756b25ccb2bd75360bdb9b7b7643975d1f3b3
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
source/auth/ntlmssp/ntlmssp.c
source/auth/ntlmssp/ntlmssp_client.c
source/libcli/composite/connect.c
source/libcli/composite/sesssetup.c
source/libcli/ldap/ldap_bind.c
source/librpc/rpc/dcerpc_auth.c