1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00

join: Don't print provision results when they're just noise.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Feb 26 17:56:57 CET 2012 on sn-devel-104
This commit is contained in:
Jelmer Vernooij 2012-02-26 16:25:56 +01:00
parent 6664541156
commit d09764e180

View File

@ -589,17 +589,15 @@ class dc_join(object):
logger.addHandler(logging.StreamHandler(sys.stdout)) logger.addHandler(logging.StreamHandler(sys.stdout))
smbconf = ctx.lp.configfile smbconf = ctx.lp.configfile
presult = provision(logger, system_session(), None, presult = provision(logger, system_session(), None, smbconf=smbconf,
smbconf=smbconf, targetdir=ctx.targetdir, samdb_fill=FILL_DRS, targetdir=ctx.targetdir, samdb_fill=FILL_DRS, realm=ctx.realm,
realm=ctx.realm, rootdn=ctx.root_dn, domaindn=ctx.base_dn, rootdn=ctx.root_dn, domaindn=ctx.base_dn,
schemadn=ctx.schema_dn, schemadn=ctx.schema_dn, configdn=ctx.config_dn,
configdn=ctx.config_dn, serverdn=ctx.server_dn, domain=ctx.domain_name,
serverdn=ctx.server_dn, domain=ctx.domain_name, hostname=ctx.myname, domainsid=ctx.domsid,
hostname=ctx.myname, domainsid=ctx.domsid, machinepass=ctx.acct_pass, serverrole="domain controller",
machinepass=ctx.acct_pass, serverrole="domain controller", sitename=ctx.site, lp=ctx.lp, ntdsguid=ctx.ntds_guid,
sitename=ctx.site, lp=ctx.lp, ntdsguid=ctx.ntds_guid, dns_backend="NONE")
dns_backend="NONE")
presult.report_logger(logger)
print "Provision OK for domain DN %s" % presult.domaindn print "Provision OK for domain DN %s" % presult.domaindn
ctx.local_samdb = presult.samdb ctx.local_samdb = presult.samdb
ctx.lp = presult.lp ctx.lp = presult.lp