summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/scripting/swig/dcerpc.i4
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/scripting/swig/dcerpc.i b/source4/scripting/swig/dcerpc.i
index 487876c2fb..89599367ed 100644
--- a/source4/scripting/swig/dcerpc.i
+++ b/source4/scripting/swig/dcerpc.i
@@ -368,7 +368,7 @@ PyObject *DATA_BLOB_to_python(DATA_BLOB obj)
/* Set REF_ALLOC flag so we don't have to do too much extra
mucking around with ref variables in ndr unmarshalling. */
- (*$1)->flags |= DCERPC_NDR_REF_ALLOC;
+ (*$1)->conn->flags |= DCERPC_NDR_REF_ALLOC;
/* Return swig handle on dcerpc_pipe */
@@ -399,14 +399,12 @@ const char *dcerpc_server_name(struct dcerpc_pipe *p);
#include "librpc/gen_ndr/ndr_misc.h"
#include "librpc/gen_ndr/ndr_lsa.h"
#include "librpc/gen_ndr/ndr_samr.h"
-#include "librpc/gen_ndr/ndr_winreg.h"
#include "librpc/gen_ndr/ndr_spoolss.h"
%}
%include "librpc/gen_ndr/misc.i"
%include "librpc/gen_ndr/lsa.i"
%include "librpc/gen_ndr/samr.i"
-%include "librpc/gen_ndr/winreg.i"
%include "librpc/gen_ndr/spoolss.i"
/* The status codes must be included last otherwise the automatically