[PATCH] Use gensec_spnego in s3 RPC client and server

Andrew Bartlett abartlet at samba.org
Sun Feb 5 22:16:35 MST 2012


Having made a big transition to gensec_spnego in the session setup and
CIFS encryption code, this patch series transitions the RPC client and
server to the same framework.

I also remove a little more code no longer required in the s3 CIFS and
SMB2 server since gensec_spnego was introduced, including the 'send
spnego principal' option. 

http://git.samba.org/?p=abartlet/samba.git/.git;a=shortlog;h=refs/heads/s3-rpc-gensec

 b/source3/Makefile.in                 |    4 
 b/source3/include/proto.h             |    1 
 b/source3/librpc/rpc/dcerpc.h         |    2 
 b/source3/librpc/rpc/dcerpc_helpers.c |   42 ----
 b/source3/param/loadparm.c            |   10 -
 b/source3/rpc_client/cli_pipe.c       |  177 ++++--------------
 b/source3/rpc_server/srv_pipe.c       |   82 --------
 b/source3/rpc_server/wscript_build    |    2 
 b/source3/smbd/globals.h              |    3 
 b/source3/smbd/negprot.c              |   33 ---
 b/source3/smbd/sesssetup.c            |    7 
 b/source3/smbd/smb2_sesssetup.c       |    6 
 b/source3/wscript_build               |    1 
 source3/librpc/crypto/cli_spnego.c    |  334
----------------------------------
 source3/librpc/crypto/spnego.h        |   92 ---------
 source3/rpc_server/dcesrv_spnego.c    |  297
------------------------------
 source3/rpc_server/dcesrv_spnego.h    |   38 ---
 17 files changed, 56 insertions(+), 1075 deletions(-)

Thanks,

Andrew Bartlett
-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org



More information about the samba-technical mailing list