summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2014-08-30 01:57:28 +0200
committerDavid Disseldorp <ddiss@samba.org>2014-08-31 21:21:13 +0200
commitdaaddc4c1d6c70dedad042be08e03fbd11db105c (patch)
tree5f89692a4dac6e408d50c18d63af0d647f39d34a /python
parent3b04d16d6b521a0ef266c72b0e7a346a75de0059 (diff)
downloadsamba-daaddc4c1d6c70dedad042be08e03fbd11db105c.tar.gz
samba-daaddc4c1d6c70dedad042be08e03fbd11db105c.tar.xz
samba-daaddc4c1d6c70dedad042be08e03fbd11db105c.zip
samba.netcmd.domain: Fix incorrect variable names, causing NameErrors.
Change-Id: I1c78f07f942a8b03ac88de98b18ac636b7124e22 Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
Diffstat (limited to 'python')
-rw-r--r--python/samba/netcmd/domain.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/samba/netcmd/domain.py b/python/samba/netcmd/domain.py
index a7eadb8078..3415da3166 100644
--- a/python/samba/netcmd/domain.py
+++ b/python/samba/netcmd/domain.py
@@ -398,13 +398,13 @@ class cmd_domain_provision(Command):
if eadb:
self.logger.info("not using extended attributes to store ACLs and other metadata. If you intend to use this provision in production, rerun the script as root on a system supporting xattrs.")
if ldap_backend_type == "existing":
- if dap_backend_forced_uri is not None:
- logger.warn("You have specified to use an existing LDAP server as the backend, please make sure an LDAP server is running at %s" % ldap_backend_forced_uri)
+ if ldap_backend_forced_uri is not None:
+ self.logger.warn("You have specified to use an existing LDAP server as the backend, please make sure an LDAP server is running at %s" % ldap_backend_forced_uri)
else:
- logger.info("You have specified to use an existing LDAP server as the backend, please make sure an LDAP server is running at the default location")
+ self.logger.info("You have specified to use an existing LDAP server as the backend, please make sure an LDAP server is running at the default location")
else:
if ldap_backend_forced_uri is not None:
- logger.warn("You have specified to use an fixed URI %s for connecting to your LDAP server backend. This is NOT RECOMMENDED, as our default communiation over ldapi:// is more secure and much less")
+ self.logger.warn("You have specified to use an fixed URI %s for connecting to your LDAP server backend. This is NOT RECOMMENDED, as our default communiation over ldapi:// is more secure and much less")
session = system_session()
try: