svn commit: samba r9820 - in
branches/tmp/RPCREWRITE/source/rpc_server: .
jra at samba.org
jra at samba.org
Wed Aug 31 06:17:58 GMT 2005
Author: jra
Date: 2005-08-31 06:17:57 +0000 (Wed, 31 Aug 2005)
New Revision: 9820
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9820
Log:
Don't forget dc info is now dynamic.
Jeremy.
Modified:
branches/tmp/RPCREWRITE/source/rpc_server/srv_pipe.c
Changeset:
Modified: branches/tmp/RPCREWRITE/source/rpc_server/srv_pipe.c
===================================================================
--- branches/tmp/RPCREWRITE/source/rpc_server/srv_pipe.c 2005-08-31 06:17:15 UTC (rev 9819)
+++ branches/tmp/RPCREWRITE/source/rpc_server/srv_pipe.c 2005-08-31 06:17:57 UTC (rev 9820)
@@ -1252,7 +1252,11 @@
/* The client opens a second RPC NETLOGON pipe without
doing a auth2. The credentials for the schannel are
re-used from the auth2 the client did before. */
- p->dc = last_dcinfo;
+ p->dc = TALLOC_ZERO_P(p->pipe_state_mem_ctx, struct dcinfo);
+ if (!p->dc) {
+ return False;
+ }
+ *p->dc = last_dcinfo;
init_rpc_hdr_auth(&auth_info, RPC_SCHANNEL_AUTH_TYPE, pauth_info->auth_level, RPC_HDR_AUTH_LEN, 1);
if(!smb_io_rpc_hdr_auth("", &auth_info, pout_auth, 0)) {
More information about the samba-cvs
mailing list