s4-join: fixed non-subdomain join
authorAndrew Tridgell <tridge@samba.org>
Mon, 5 Sep 2011 06:43:26 +0000 (16:43 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 13 Sep 2011 05:38:34 +0000 (15:38 +1000)
these two vars need to be initialised for general join

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

source4/scripting/python/samba/join.py

index dfa8bf9e0dc805d1bf4728021cb069849aaaaf5c..bd343fa4c550f348c0887ec613ad0027f42d7c86 100644 (file)
@@ -122,6 +122,8 @@ class dc_join(object):
         ctx.krbtgt_dn = None
         ctx.drsuapi = None
         ctx.managedby = None
+        ctx.subdomain = False
+        ctx.domguid = None
 
 
     def del_noerror(ctx, dn, recursive=False):