s4-rodc: removed python memory workaround
authorAndrew Tridgell <tridge@samba.org>
Wed, 25 Aug 2010 04:33:17 +0000 (14:33 +1000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 25 Aug 2010 13:05:05 +0000 (23:05 +1000)
we can now assign pidl generates structures directly without errors

source4/scripting/python/samba/join.py

index e6cda135ef155873db326ac811b378ae4bbb9ee4..c48b53fc134b838661277c654b0dd1ebc12bc690 100644 (file)
@@ -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)