Author: jra Date: 2005-08-20 01:38:31 +0000 (Sat, 20 Aug 2005) New Revision: 9408
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9408 Log: The *classic* friday night check-in :-). Ok - this code (especially the RPC client code) will probably not work. But enough of the server RPC code is fixed that we need to have it in the tree so others can start banging on it. Brings back the NTLMv2 code from Samba4 gensec and allows Samba3 rpc pipes to negotiate NTLMv2 sign and seal - using auth type 10. Next I need to fix up the secondary alter context code to make auth type 9 (SPNEGO NTLMSSP) work. Finally I need to fix up the client RPC code to correctly do sign and seal. But it's getting there. It works with Samba4 smbtorture using the RPC-ECHO test until I get a segfault (in Samba4 smbtorture). I'm going to look into that next. Thanks to Andrew Bartlett for his wonderfully clear gensec code and some extremely useful help and advice in doing this. Jeremy. Modified: trunk/source/include/ntdomain.h trunk/source/include/ntlmssp.h trunk/source/include/rpc_client.h trunk/source/include/rpc_dce.h trunk/source/lib/data_blob.c trunk/source/libsmb/ntlmssp.c trunk/source/libsmb/ntlmssp_sign.c trunk/source/libsmb/samlogon_cache.c trunk/source/libsmb/smbencrypt.c trunk/source/registry/reg_printing.c trunk/source/rpc_client/cli_dfs.c trunk/source/rpc_client/cli_ds.c trunk/source/rpc_client/cli_echo.c trunk/source/rpc_client/cli_lsarpc.c trunk/source/rpc_client/cli_netlogon.c trunk/source/rpc_client/cli_pipe.c trunk/source/rpc_client/cli_samr.c trunk/source/rpc_client/cli_shutdown.c trunk/source/rpc_client/cli_spoolss_notify.c trunk/source/rpc_client/cli_srvsvc.c trunk/source/rpc_client/cli_unixinfo.c trunk/source/rpc_client/cli_wkssvc.c trunk/source/rpc_parse/parse_prs.c trunk/source/rpc_parse/parse_rpc.c trunk/source/rpc_server/srv_pipe.c trunk/source/rpc_server/srv_pipe_hnd.c trunk/source/rpc_server/srv_samr_nt.c trunk/source/rpc_server/srv_spoolss_nt.c Changeset: Sorry, the patch is too large (4347 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9408