From: Andrew Tridgell Date: Wed, 25 Aug 2010 04:33:17 +0000 (+1000) Subject: s4-rodc: removed python memory workaround X-Git-Tag: release-4-0-0alpha13~796 X-Git-Url: http://git.samba.org/samba.git/?p=amitay%2Fsamba.git;a=commitdiff_plain;h=ba5b3fb2480af2b3f8b5b69e4c161af07241e0c4 s4-rodc: removed python memory workaround we can now assign pidl generates structures directly without errors --- diff --git a/source4/scripting/python/samba/join.py b/source4/scripting/python/samba/join.py index e6cda135ef1..c48b53fc134 100644 --- a/source4/scripting/python/samba/join.py +++ b/source4/scripting/python/samba/join.py @@ -191,8 +191,7 @@ def join_rodc(server=None, creds=None, lp=None, site=None, netbios_name=None, req8.mapping_ctr.mappings = None if not schema: - pas = get_rodc_partial_attribute_set(ctx) - req8.partial_attribute_set = pas + req8.partial_attribute_set = get_rodc_partial_attribute_set(ctx) while True: (level, ctr) = ctx.drs.DsGetNCChanges(ctx.drs_handle, 8, req8)