From f45848e33afecc7b0494b554af48a9e8107cb4cf Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Thu, 16 Sep 2010 23:24:02 +0200 Subject: s4:python/samba/join.py - add a comment to point out that NCs have to be assigned dynamically We could also have DNS partitions (only to make one example). Signed-off-by: Andrew Bartlett --- source4/scripting/python/samba/join.py | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/scripting') diff --git a/source4/scripting/python/samba/join.py b/source4/scripting/python/samba/join.py index 5da372b407..34f3ebbf53 100644 --- a/source4/scripting/python/samba/join.py +++ b/source4/scripting/python/samba/join.py @@ -150,6 +150,7 @@ def join_rodc(server=None, creds=None, lp=None, site=None, netbios_name=None, "dnsHostName" : ctx.dnshostname} ctx.samdb.add(rec) + # FIXME: the partition (NC) assignment has to be made dynamic print "Adding %s" % ctx.ntds_dn rec = { "dn" : ctx.ntds_dn, -- cgit