1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
samba-mirror/source3/rpc_client
Christian Ambach 3d29bb2d37 s3:rpc_client fix a crash
state->cli->dc does not have to be set (e.g. when running
net rpc join against an older Samba PDC), so check it before dereferencing it

This fixes Bug 9669 - net rpc join crashes against a Samba 3.0.33 PDC

Bug: https://bugzilla.samba.org/show_bug.cgi?id=9669

Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Christian Ambach <ambi@samba.org>
Autobuild-Date(master): Wed Feb 20 19:00:52 CET 2013 on sn-devel-104
2013-02-20 19:00:52 +01:00
..
cli_lsarpc.c s3-rpc_client: make dcerpc_lsa_lookup_names_generic() public. 2012-11-30 11:49:41 +01:00
cli_lsarpc.h s3-rpc_client: make dcerpc_lsa_lookup_names_generic() public. 2012-11-30 11:49:41 +01:00
cli_netlogon.c libcli/auth: rename netlogon_creds_decrypt_samlogon() to netlogon_creds_decrypt_samlogon_validation(). 2012-12-15 21:50:36 +01:00
cli_netlogon.h source3/rpc_client/cli_netlogon.h: fix licence/copyright 2011-06-10 15:12:37 +02:00
cli_pipe_schannel.c s3:libsmb: get rid of cli_state_remote_name 2012-05-28 14:49:45 +02:00
cli_pipe.c s3:rpc_client fix a crash 2013-02-20 19:00:52 +01:00
cli_pipe.h s3:rpc_client: s/struct event_context/struct tevent_context 2013-02-19 23:47:52 +01:00
cli_samr.c Fix bug 8088 - rpccli_samr_chng_pswd_auth_crap segfaults if any input blobs are null. 2011-04-19 00:17:08 +02:00
cli_samr.h s3-rpc_client: Added dcerpc_try_samr_connects. 2011-01-21 15:19:01 +01:00
cli_spoolss.c spoolss: Make OpenPrinterEx work with NDR64 by using UserInfo Container. 2013-01-16 11:42:13 +01:00
cli_spoolss.h source3/rpc_client/cli_spoolss.h: fix licence/copyright 2011-06-10 15:12:39 +02:00
cli_winreg_int.c s3-auth Use the common auth_session_info 2011-07-20 09:17:13 +10:00
cli_winreg_int.h s3-auth Use the common auth_session_info 2011-07-20 09:17:13 +10:00
cli_winreg_spoolss.c s3-spoolss: Fix builtin forms order to match Windows again. 2012-09-26 20:07:43 +02:00
cli_winreg_spoolss.h s3-printing: add rpc_client/cli_winreg_spoolss.c 2011-07-07 18:06:01 +02:00
cli_winreg.c s3-rpc_client: Added dcerpc_winreg_delete_subkeys_recursive() function. 2011-07-13 10:09:08 +02:00
cli_winreg.h s3-rpc_client: Added dcerpc_winreg_delete_subkeys_recursive() function. 2011-07-13 10:09:08 +02:00
init_lsa.c s3: include ../librpc/gen_ndr/lsa.h where needed. 2011-03-30 01:13:10 +02:00
init_lsa.h source3/rpc_client/init_lsa.h: fix licence/copyright 2011-06-10 15:12:41 +02:00
init_netlogon.c s3-rpc_client: support AES encryption in netr_ServerPasswordSet2 client. 2012-12-09 19:39:07 +01:00
init_netlogon.h s3-rpc_client: use netlogon_creds_arcfour_crypt() in init_netr_CryptPassword. 2012-12-09 19:39:07 +01:00
init_samr.c
init_samr.h source3/rpc_client/init_samr.h: fix licence/copyright 2011-06-10 15:12:45 +02:00
init_spoolss.c spoolss: make spoolss deal with ndr64 ULONG_PTR of devmode_ptr and secdesc_ptr. 2013-01-17 17:11:37 +01:00
init_spoolss.h s3-printing: move spoolss_create_default_devmode/secdesc to init_spoolss.h 2011-07-07 18:06:01 +02:00
rpc_client.h s3-rpc_client: add and use rpc_client/rpc_client.h. 2011-04-13 22:23:59 +02:00
rpc_transport_np.c s3:rpc_client: s/struct event_context/struct tevent_context 2013-02-19 23:47:52 +01:00
rpc_transport_sock.c s3-rpc_client: run minimal_includes.pl. 2011-05-05 02:05:27 +02:00
rpc_transport_tstream.c s3:rpc_client: s/struct event_context/struct tevent_context 2013-02-19 23:47:52 +01:00
rpc_transport.h s3:rpc_client: s/struct event_context/struct tevent_context 2013-02-19 23:47:52 +01:00
util_netlogon.c idl: Improve MS-PAC IDL 2011-10-24 19:19:28 +02:00
util_netlogon.h source3/rpc_client/util_netlogon.h: fix licence/copyright 2011-06-10 16:27:23 +02:00