s3-auth: Refactor and rename auth_ntlmssp_server_info()
authorSimo Sorce <idra@samba.org>
Fri, 16 Jul 2010 22:33:38 +0000 (18:33 -0400)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 20 Jul 2010 05:52:24 +0000 (15:52 +1000)
commita04bbd281c5b94166e23026ea06e98939250028c
treebdf0598bb9c72a1e16d00e3ff1bf072d33f561ea
parent0bb8d133c9a39873828dbe977513edd31e1a7045
s3-auth: Refactor and rename auth_ntlmssp_server_info()

Rename it to auth_ntlmssp_steal_server_info() to make it clear that
the server_info struct is stolen from the auth_ntlmssp_state structure.
Use talloc_move instead of manual steal&clear
Add comments to explain what is going on.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source3/auth/auth_ntlmssp.c
source3/include/proto.h
source3/rpc_server/srv_pipe.c
source3/smbd/sesssetup.c
source3/smbd/smb2_sesssetup.c