From: Jelmer Vernooij Date: Sun, 26 Feb 2012 15:25:56 +0000 (+0100) Subject: join: Don't print provision results when they're just noise. X-Git-Tag: tdb-1.2.10~608 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d09764e180f0fef076b014fb446a4247f7cf0d29;p=thirdparty%2Fsamba.git join: Don't print provision results when they're just noise. Autobuild-User: Jelmer Vernooij Autobuild-Date: Sun Feb 26 17:56:57 CET 2012 on sn-devel-104 --- diff --git a/source4/scripting/python/samba/join.py b/source4/scripting/python/samba/join.py index 1e6e2c68989..ff068ac5b33 100644 --- a/source4/scripting/python/samba/join.py +++ b/source4/scripting/python/samba/join.py @@ -589,17 +589,15 @@ class dc_join(object): logger.addHandler(logging.StreamHandler(sys.stdout)) smbconf = ctx.lp.configfile - presult = provision(logger, system_session(), None, - smbconf=smbconf, targetdir=ctx.targetdir, samdb_fill=FILL_DRS, - realm=ctx.realm, rootdn=ctx.root_dn, domaindn=ctx.base_dn, - schemadn=ctx.schema_dn, - configdn=ctx.config_dn, - serverdn=ctx.server_dn, domain=ctx.domain_name, - hostname=ctx.myname, domainsid=ctx.domsid, - machinepass=ctx.acct_pass, serverrole="domain controller", - sitename=ctx.site, lp=ctx.lp, ntdsguid=ctx.ntds_guid, - dns_backend="NONE") - presult.report_logger(logger) + presult = provision(logger, system_session(), None, smbconf=smbconf, + targetdir=ctx.targetdir, samdb_fill=FILL_DRS, realm=ctx.realm, + rootdn=ctx.root_dn, domaindn=ctx.base_dn, + schemadn=ctx.schema_dn, configdn=ctx.config_dn, + serverdn=ctx.server_dn, domain=ctx.domain_name, + hostname=ctx.myname, domainsid=ctx.domsid, + machinepass=ctx.acct_pass, serverrole="domain controller", + sitename=ctx.site, lp=ctx.lp, ntdsguid=ctx.ntds_guid, + dns_backend="NONE") print "Provision OK for domain DN %s" % presult.domaindn ctx.local_samdb = presult.samdb ctx.lp = presult.lp