r17222: Change the function prototypes for the GENSEc and TLS socket creation
authorAndrew Bartlett <abartlet@samba.org>
Tue, 25 Jul 2006 00:57:27 +0000 (00:57 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:10:20 +0000 (14:10 -0500)
commit9d6f2767179fad2f9a067c67c09afddb6304e4eb
tree152febe9acc01ebbe00c56494541cf9c23296399
parentc047a88f41ffed47e2eb422f8efb594aae80d61e
r17222: Change the function prototypes for the GENSEc and TLS socket creation
routines to return an NTSTATUS.  This should help track down errors.

Use a bit of talloc_steal and talloc_unlink to get the real socket to
be a child of the GENSEC or TLS socket.

Always return a new socket, even for the 'pass-though' case.

Andrew Bartlett
(This used to be commit 003e2ab93c87267ba28cd67bd85975bad62a8ea2)
source4/auth/gensec/socket.c
source4/auth/gensec/socket.h
source4/ldap_server/ldap_bind.c
source4/ldap_server/ldap_server.c
source4/lib/stream/packet.c
source4/lib/tls/tls.c
source4/libcli/ldap/ldap_bind.c
source4/libcli/ldap/ldap_client.c